mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 09:13:37 +02:00
jw.pkg.cmds.CmdDistro: Default --interactive to true
Better safe than sorry: If things are to happen unattendedly, enforce the need to explicitly request that. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
6ca4af77d7
commit
e075e8902b
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ class CmdDistro(CmdBase): # export
|
|||
def add_arguments(self, p: ArgumentParser) -> None:
|
||||
super().add_arguments(p)
|
||||
p.add_argument('--id', default=None, help='Distribution ID (default is taken from /etc/os-release)')
|
||||
p.add_argument('--interactive', choices=['true', 'false', 'auto'], default='false', help="Wait for user input or try to proceed unattended")
|
||||
p.add_argument('--interactive', choices=['true', 'false', 'auto'], default='true', help="Wait for user input or try to proceed unattended")
|
||||
|
||||
@property
|
||||
def interactive(self) -> bool:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue