diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/librefetch/librefetch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch index e3b9c65..ab4f21a 100755 --- a/src/librefetch/librefetch +++ b/src/librefetch/librefetch @@ -93,7 +93,7 @@ main() { if [[ $mode =~ checksums ]]; then if [[ ${#extra_opts[@]} != 0 ]]; then - print "%s: found extra non-flag arguments: %s" "$cmd" "${extra_opts[*]}" + print "%s: found extra non-flag arguments: %s" "$cmd" "${extra_opts[*]}" >> /dev/stderr usage >> /dev/stderr return 1 fi @@ -108,7 +108,7 @@ main() { ######################################################################## if [[ ${#extra_opts[@]} != 2 ]]; then - print "%s: %d non-flag arguments found, expected 2: %s" "$cmd" ${#extra_opts[@]} + print "%s: %d non-flag arguments found, expected 2: %s" "$cmd" ${#extra_opts[@]} >> /dev/stderr usage >> /dev/stderr return 1 fi |