X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=core%2Flibrary%2Fapplication%2Fcommand_line.h;h=989aac5dd93529a1f4bc425e8674b6ae4d859e20;hb=38bc4d6f3bb72ca72a984430552fd85ce06a074a;hp=4addb392df8f735fabae75ccf22852fb9cbc3067;hpb=89cf55d3c943f9ce34e8a09cdbe1719d62bcff83;p=feisty_meow.git diff --git a/core/library/application/command_line.h b/core/library/application/command_line.h index 4addb392..989aac5d 100644 --- a/core/library/application/command_line.h +++ b/core/library/application/command_line.h @@ -88,9 +88,12 @@ class command_line public: command_line(int argc, char *argv[]); //!< takes command line parameters in the form of "argc" and "argv". - /*!< this is suitable for most C++ main programs. the first "argv" - string (element zero) is ignored because it is assumed that it is the program name. - these become available in the global variables _global_argc and _global_argv. */ + /*!< this is suitable for most C++ main programs. the first "argv" string (element zero) is + ignored because it is assumed that it is the program name. that means that the array of + command parameters here will be (argc - 1) in length, and that index zero of our array has + the first "real" parameter that was passed to the program (i.e., not it's name). + note that the unaltered command parameters of argc and argv become available in the global + variables _global_argc and _global_argv. */ command_line(const basis::astring &to_parse); //!< takes a string form of the command line.