emacs: Adjust 'guix container' popup.

* emacs/guix-command.el (guix-command-improve-action-argument): Use "C"
  key for 'container' action to distinguish it from 'challenge'.
  (guix-command-rest-argument): Add positional arguments.
This commit is contained in:
Alex Kost 2015-11-04 21:51:46 +03:00
parent 959c78f69a
commit cfa548b4ea
1 changed files with 4 additions and 1 deletions

View File

@ -131,7 +131,8 @@ to be modified."
(guix-command-define-argument-improver
guix-command-improve-action-argument
'(("graph" :char ?G)
'(("container" :char ?C)
("graph" :char ?G)
("environment" :char ?E)
("publish" :char ?u)
("pull" :char ?P)
@ -369,6 +370,8 @@ to be modified."
'("archive" "build" "challenge" "edit" "environment"
"graph" "lint" "refresh"))
(argument :doc "Packages" :fun 'guix-read-package-names-string))
((equal commands '("container" "exec"))
(argument :doc "PID Command [Args...]"))
((string= command "download")
(argument :doc "URL"))
((string= command "gc")