On Thu, Sep 10, 2015 at 10:47:27PM +0000, Devin Teske wrote:
> New Revision: 287635
> URL: https://svnweb.freebsd.org/changeset/base/287635
> 
> Log:
>   Fix argument quoting and remove unnecessary braces
> [...]
>  
>  if [ $# -lt 3 ]; then
> -     echo Usage: $0 '[-b] image-label image-name base-bits-dir 
> [extra-bits-dir]'
> +     echo "Usage: $0 [-b] image-label image-name base-bits-dir 
> [extra-bits-dir]"

usage() output typically should be sent to stderr, i.e."

  echo "usage: $0 bla-bla-bla" >&2

(this bug exists in all those scripts).

./danfe
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to