mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
run-docker: sh by default
This commit is contained in:
@@ -59,7 +59,7 @@ cmd_action_map = {
|
||||
}
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--dry-run', default=False, action='store_true')
|
||||
parser.add_argument('cmd', choices=cmd_action_map)
|
||||
parser.add_argument('cmd', choices=cmd_action_map, default='sh', nargs='?')
|
||||
parser.add_argument('args', nargs='*')
|
||||
args = parser.parse_args()
|
||||
sh = shell_helpers.ShellHelpers(dry_run=args.dry_run)
|
||||
|
||||
Reference in New Issue
Block a user