summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2009-11-29 15:47:12 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2009-11-29 15:47:12 +0000
commitcb664dc959677d357ef2581a3057220348724172 (patch)
treea5251dc3e2fdf3a1bb0dae5713cbd5bd6e5ea37f
parent7aaf156cc9ed999466461e6b12c0f3aedfa850ff (diff)
Mention -s in help. Sane default for history file
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@425 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xpublish3
1 files changed, 2 insertions, 1 deletions
diff --git a/publish b/publish
index 08a7e0f..0b4db5c 100755
--- a/publish
+++ b/publish
@@ -30,7 +30,7 @@
base_http=http://www.example.com/pub
base_rsync=marvin.example.com:/var/www/www.example.com/htdocs/pub
-history_file=false
+history_file=~/.publish.history
history_lines=1000
[ -e ~/.publish.cfg ] && . ~/.publish.cfg
@@ -44,6 +44,7 @@ copy the file <src> to a server an report the URL.
OPTIONS:
-h Show this message
+ -s Show the history
-n no-do. Just print what would have been done
EOF
}