Improved usage message.

r1139 | ffr | 2006-10-13 09:11:24 +1000 (Fri, 13 Oct 2006) | 2 lines
This commit is contained in:
Ferdi Franceschini
2006-10-13 09:11:24 +10:00
committed by Douglas Clowes
parent 572b77fac2
commit 6ae04efba0

View File

@@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# $Revision: 1.3 $ # $Revision: 1.4 $
# $Date: 2006-10-12 22:48:14 $ # $Date: 2006-10-12 23:11:24 $
# Author: Ferdi Franceschini (ffr@ansto.gov.au) # Author: Ferdi Franceschini (ffr@ansto.gov.au)
# Last revision by $Author: ffr $ # Last revision by $Author: ffr $
@@ -13,7 +13,10 @@ usage()
echo deploySICS.sh copies SICS and the files listed echo deploySICS.sh copies SICS and the files listed
echo in the MANIFEST.TXT files to the IC host. echo in the MANIFEST.TXT files to the IC host.
echo -e "Usage:\t./deploySICS.sh INSTRUMENT [TARGET_HOST TARGET_DIR]"; echo -e "Usage:\t./deploySICS.sh INSTRUMENT [TARGET_HOST TARGET_DIR]";
echo -e :\t./deploySICS.sh test/INSTRUMENT [TARGET_HOST TARGET_DIR]";
echo -e "\twhere INSTRUMENT can be hrpd, echidna, hipd, wombat ..."; echo -e "\twhere INSTRUMENT can be hrpd, echidna, hipd, wombat ...";
echo -e "\tTARGET_HOST can be a remote host or 'localhost'";
echo -e "\twill create last directory in TARGET_DIR if necessary";
} }
if [ $# -eq 0 -o $# -eq 2 -o $# -gt 3 ] if [ $# -eq 0 -o $# -eq 2 -o $# -gt 3 ]