-
-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db87dbb
commit c18e217
Showing
2 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
/// | ||
/// @file cmdoptions.cpp | ||
/// @brief Parse command-line options for the primesieve console | ||
/// (terminal) application. | ||
/// @brief Command-line option handling for the primesieve | ||
/// command-line application. The command-line options are | ||
/// first parsed in cmdoptions.cpp and stored in a CmdOptions | ||
/// object. Afterwards we execute the function corresponding | ||
/// to the user's command-line options in the main() function | ||
/// in main.cpp. | ||
/// | ||
/// How to add a new command-line option: | ||
/// | ||
/// 1) Add a new option enum in cmdoptions.h. | ||
/// 2) Add your option to parseOptions() in cmdoptions.cpp. | ||
/// 3) Add your option to main() in main.cpp. | ||
/// | ||
/// Copyright (C) 2024 Kim Walisch, <[email protected]> | ||
/// | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
/// | ||
/// @file main.cpp | ||
/// @brief primesieve console application. | ||
/// @brief Command-line option handling for the primesieve | ||
/// command-line application. The command-line options are | ||
/// first parsed in cmdoptions.cpp and stored in a CmdOptions | ||
/// object. Afterwards we execute the function corresponding | ||
/// to the user's command-line options in the main() function | ||
/// in main.cpp. | ||
/// | ||
/// How to add a new command-line option: | ||
/// | ||
/// 1) Add a new option enum in cmdoptions.h. | ||
/// 2) Add your option to parseOptions() in cmdoptions.cpp. | ||
/// 3) Add your option to main() in main.cpp. | ||
/// | ||
/// Copyright (C) 2024 Kim Walisch, <[email protected]> | ||
/// | ||
|