mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
[v0.96] Add short options. Improve --help flag. Update man page
This commit is contained in:
@@ -26,8 +26,21 @@ enum {
|
||||
STYLE_INVALID
|
||||
};
|
||||
|
||||
enum {
|
||||
ARG_STYLE,
|
||||
ARG_COLOR,
|
||||
ARG_HELP,
|
||||
ARG_DEBUG,
|
||||
ARG_VERBOSE,
|
||||
ARG_VERSION
|
||||
};
|
||||
|
||||
extern const char args_chr[];
|
||||
extern const char *args_str[];
|
||||
|
||||
#include "printer.h"
|
||||
|
||||
int max_arg_str_length();
|
||||
bool parse_args(int argc, char* argv[]);
|
||||
bool show_help();
|
||||
bool show_debug();
|
||||
|
||||
Reference in New Issue
Block a user