about summary refs log tree commit diff
path: root/editor
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2019-05-04 19:39:29 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2019-05-04 19:39:29 +0000
commit7a5291a126732a4ca220a79cfe5e6763e71ace73 (patch)
tree4faec99c44fe17269a2a91bca124f82dea7a5ae0 /editor
parentd58c8eb1d4269c9210171b47bcf0bb855ceabbb3 (diff)
downloadnetpbm-mirror-7a5291a126732a4ca220a79cfe5e6763e71ace73.tar.gz
netpbm-mirror-7a5291a126732a4ca220a79cfe5e6763e71ace73.tar.xz
netpbm-mirror-7a5291a126732a4ca220a79cfe5e6763e71ace73.zip
Release 10.86.03
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@3602 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor')
-rw-r--r--editor/pnmcrop.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/pnmcrop.c b/editor/pnmcrop.c
index dba40c95..d6bae1d3 100644
--- a/editor/pnmcrop.c
+++ b/editor/pnmcrop.c
@@ -162,6 +162,10 @@ parseCommandLine(int argc, const char ** argv,
     if (reportFullOpt && reportSizeOpt)
         pm_error("You cannot specify both -reportfull and -reportsize");
 
+    if ((reportFullOpt || reportSizeOpt) && borderfileSpec)
+        pm_error("You cannot specify -reportfull or -reportsize "
+                 "with -borderfile");
+
     if (reportFullOpt)
         cmdlineP->baseOperation = OP_REPORT_FULL;
     else if (reportSizeOpt)