mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
--print-cmd-oneline
This commit is contained in:
@@ -573,6 +573,14 @@ when building examples that rely on it or running tests for those examples.
|
||||
Indicate that all packages used by our userland/ examples with --package
|
||||
are available.
|
||||
''',
|
||||
)
|
||||
self.add_argument(
|
||||
'--print-cmd-oneline',
|
||||
action='store_true',
|
||||
help='''\
|
||||
Print generated commands in a single line:
|
||||
https://cirosantilli.com/linux-kernel-module-cheat#dry-run
|
||||
'''
|
||||
)
|
||||
self.add_argument(
|
||||
'--static',
|
||||
@@ -1482,6 +1490,7 @@ lunch aosp_{}-eng
|
||||
self.env = env.copy()
|
||||
self.sh = shell_helpers.ShellHelpers(
|
||||
dry_run=self.env['dry_run'],
|
||||
force_oneline=self.env['print_cmd_oneline'],
|
||||
quiet=(not show_cmds),
|
||||
)
|
||||
self._init_env(self.env)
|
||||
|
||||
Reference in New Issue
Block a user