summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2012-03-10 13:28:26 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2012-03-10 13:28:26 +0000
commitb783ab1ade3ebe44de6c34ee7083c9d3a8ff545e (patch)
tree8a66befac530d7536c8c007577d0dd47f7f2e494
parent26bc0cce05dc611039a2ebe4f4f0047511fab963 (diff)
Show history is now -H (was -s)
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@498 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xpublish6
1 files changed, 3 insertions, 3 deletions
diff --git a/publish b/publish
index 029a094..e40ae33 100755
--- a/publish
+++ b/publish
@@ -68,7 +68,7 @@ copy the file <src> to a server an report the URL.
OPTIONS:
-n no-do. Just print what would have been done
- -s Show the history
+ -H Show the history
-S Make a screenshot of one window and publish.
-x Publish the contents of the xclipboard
-h Show this message
@@ -100,7 +100,7 @@ NODO=""
inputxclip=0
do_screenshot=0
-while getopts "hnsSx" OPTION
+while getopts "hnHSx" OPTION
do
case $OPTION in
h)
@@ -113,7 +113,7 @@ do
x)
inputxclip=1
;;
- s)
+ H)
if [ -r "$history_file" ]; then
history_show
exit 0