Browse Source

* write full help when executing ppudump without parameters (based on patch
by Reinier Olislagers, mantis #24328)

git-svn-id: trunk@24354 -

Jonas Maebe 12 years ago
parent
commit
52dd59ee74
1 changed files with 1 additions and 5 deletions
  1. 1 5
      compiler/utils/ppuutils/ppudump.pp

+ 1 - 5
compiler/utils/ppuutils/ppudump.pp

@@ -3339,11 +3339,7 @@ const
   error_on_more : boolean = false;
 begin
   if paramcount<1 then
-   begin
-     WriteLogo;
-     writeln('usage: dumpppu [options] <filename1> <filename2>...');
-     halt(1);
-   end;
+    help;
 { turn verbose on by default }
   verbose:=v_all;
 { read options }