FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
abacus-develop/source/source_io/parse_args.h at develop · deepmodeling/abacus-develop · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
deepmodeling
/
abacus-develop
Public
forked from
abacusmodeling/abacus-develop
Notifications
You must be signed in to change notification settings
Fork
244
Star
286
Code
Issues
258
Pull requests
18
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
abacus-develop
/
source
/
source_io
/
parse_args.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
26 lines (24 loc) · 1.04 KB
Breadcrumbs
abacus-develop
/
source
/
source_io
/
parse_args.h
Copy path
File metadata and controls
26 lines (24 loc) · 1.04 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
ifndef
ModuleIO_PARSE_ARGS_H
#
define
ModuleIO_PARSE_ARGS_H
namespace
ModuleIO
{
/*
*
* @brief This function returns the version information when using command
* "abacus --version", "abacus -v" or "abacus -V"; returns the compilation
* details when using command "abacus --info", "abacus -i" or "abacus -I";
* otherwise, it returns usage.
*
* @param [in] argc (ARGument Count) is an integer variable that stores the number
* of command-line arguments passed by the user including the name of the program.
* So if we pass a value to a program, the value of argc would be 2 (one for
* argument and one for program name)
* @param [in] argv (ARGument Vector) is an array of character pointers listing
* all the arguments. If argc is greater than zero, the array elements from
* argv[0] to argv[argc-1] will contain pointers to strings. argv[0] is the name
* of the program , After that till argv[argc-1] every element is command -line
* arguments.
*/
void
parse_args
(
int
argc,
char
** argv);
void
print_build_info
();
}
//
namespace ModuleIO
#
endif
Back
|
FazBrowse Home
|
New Git URL