From 15d7ec1545d80050592625217668f88499e9ac97 Mon Sep 17 00:00:00 2001 From: cperciva Date: Sat, 13 Aug 2005 16:27:13 +0000 Subject: Allow multiple commands to be specified on a single command line, e.g., "portsnap fetch update" or "portsnap -I cron update". They will be executed in the order that they appear, and duplicates are not removed (so "portsnap fetch fetch fetch fetch" is meaningful, albeit rather silly). Requested by: Roman Divacky --- usr.sbin/portsnap/portsnap/portsnap.8 | 2 +- usr.sbin/portsnap/portsnap/portsnap.sh | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) (limited to 'usr.sbin/portsnap') diff --git a/usr.sbin/portsnap/portsnap/portsnap.8 b/usr.sbin/portsnap/portsnap/portsnap.8 index 9e1aa0f..7d2226d 100644 --- a/usr.sbin/portsnap/portsnap/portsnap.8 +++ b/usr.sbin/portsnap/portsnap/portsnap.8 @@ -39,7 +39,7 @@ .Op Fl k Ar KEY .Op Fl p Ar portsdir .Op Fl s Ar server -.Cm command +.Cm command ... .Op Ar path .Sh DESCRIPTION The diff --git a/usr.sbin/portsnap/portsnap/portsnap.sh b/usr.sbin/portsnap/portsnap/portsnap.sh index 47e7d46..a7731e9 100644 --- a/usr.sbin/portsnap/portsnap/portsnap.sh +++ b/usr.sbin/portsnap/portsnap/portsnap.sh @@ -34,7 +34,7 @@ # --no-stats -- don't show progress statistics while fetching files usage() { cat <