ask which command to run

Change-Id: I0bed4195141b1e5a345529f30417f29b5269b1c8
This commit is contained in:
Oliver Smith 2018-11-08 11:24:32 +01:00
parent 7634651a39
commit d8ea27b8c1
1 changed files with 2 additions and 0 deletions

View File

@ -192,6 +192,8 @@ def cmd_do(argv):
def cmd_sh(cmd):
if not cmd:
error("which command do you want to run?")
for git_dir in git_dirs():
print('\n===== %s =====' % git_dir)
print('+ %s' % cmd_to_str(cmd))