]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Improve output. There is always one parameter (the name of the executable).
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 25 May 2005 18:20:50 +0000 (18:20 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 25 May 2005 18:20:50 +0000 (18:20 +0000)
git-svn-id: https://svn.dealii.org/trunk@10748 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-19/step-19.cc

index b0add28665995f877449228feb84a47249d0d6ad..7196a1370b5879846f95b51f5c3d435fed96a250 100644 (file)
@@ -128,15 +128,17 @@ int main (int argc, char ** argv)
 {
   try
     {
-      if (argc == 0)
+      if (argc == 1)
         {
-          std::cout << "Converter from deal.II intermediate format to "
+          std::cout << std::endl
+                   << "Converter from deal.II intermediate format to "
                     << "other graphics formats."
                     << std::endl << std::endl
                     << "Usage: ./step-19 [-p parameter_file] "
                     << "list_of_input_files -x output_format "
                     << "output_file"
-                    << std::endl;
+                    << std::endl
+                   << std::endl;
           exit (1);
         }
       

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.