summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2010-07-08 19:24:52 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2010-07-08 19:24:52 +0200
commitfb292711439e7f07967d439a45ef19d9467edf69 (patch)
treee3c21a789bebafe723941a86defb3edc9641d3f9
parente644a76dfb48c01104b248a381dffba40a53c821 (diff)
downloadorg-mode-fb292711439e7f07967d439a45ef19d9467edf69.tar.gz
Add `show' command to pw, same `view'
-rwxr-xr-xUTILITIES/pw3
1 files changed, 2 insertions, 1 deletions
diff --git a/UTILITIES/pw b/UTILITIES/pw
index 76aa2f9..5a2e3dd 100755
--- a/UTILITIES/pw
+++ b/UTILITIES/pw
@@ -130,6 +130,7 @@ def usage():
by name
search [str] : Same as 'list'
view <ID> : View a patch
+ show <ID> : Same as view
update [-s state] [-c commit-ref] <ID>
: 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: