forked from Mirror/pmbootstrap
kconfig edit: make package name a positional argument (MR 1998)
Makes argument "package" positional instead of required. Uses codename from deviceinfo as default value.
This commit is contained in:
parent
2d496d983e
commit
e8e560e18e
2 changed files with 6 additions and 2 deletions
|
@ -380,7 +380,7 @@ def arguments_kconfig(subparser):
|
|||
edit.add_argument("-g", dest="gconfig", action="store_true",
|
||||
help="use gconfig rather than ncurses for kernel"
|
||||
" configuration")
|
||||
edit_package = edit.add_argument("package")
|
||||
edit_package = edit.add_argument("package", nargs='?')
|
||||
if argcomplete:
|
||||
edit_package.completer = kernel_completer
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue