ssam: add usage

This commit is contained in:
stanley lieber 2012-11-10 21:24:58 +00:00
parent 00daf47137
commit 1f0260b5f8

View file

@ -3,6 +3,7 @@
flagfmt='n,e script,f sfile' flagfmt='n,e script,f sfile'
args='[ file ... ]' args='[ file ... ]'
fn usage { echo $0 '[ -n ] [ -e script ] [ -f sfile ] [ file ... ]' >[1=2] }
if(! ifs=() eval `{aux/getflags $*}){ if(! ifs=() eval `{aux/getflags $*}){
usage usage
exit usage exit usage