From fb292711439e7f07967d439a45ef19d9467edf69 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Thu, 8 Jul 2010 19:24:52 +0200 Subject: [PATCH] Add `show' command to pw, same `view' --- UTILITIES/pw | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UTILITIES/pw b/UTILITIES/pw index 76aa2f917..5a2e3dd35 100755 --- a/UTILITIES/pw +++ b/UTILITIES/pw @@ -130,6 +130,7 @@ def usage(): by name search [str] : Same as 'list' view : View a patch + show : Same as view update [-s state] [-c commit-ref] : Update patch\n""") sys.stderr.write("""\nFilter options for 'list' and 'search': @@ -586,7 +587,7 @@ def main(): merge_with(patch_id, rpc, config.get('auth', 'username')) - elif action == 'view': + elif action == 'view' or action == 'show': try: patch_id = patch_id or int(args[0]) except: -- 2.11.4.GIT