diff options
Diffstat (limited to 'editor')
-rwxr-xr-x | editor/pnmcat | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/editor/pnmcat b/editor/pnmcat index f82c2527..52f55be7 100755 --- a/editor/pnmcat +++ b/editor/pnmcat @@ -1,3 +1,9 @@ #! /bin/sh -pamcat -extendplane "$@" | pnmtopnm +if test "$1" = '-version'; then + pamcat -version +elif test "$1" = '--version'; then + pamcat --version +else + pamcat -extendplane "$@" | pnmtopnm +fi |