diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-04-29 21:42:33 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-04-29 21:42:33 +0200 |
commit | 8b4ad891dce51baa3fb306c617f3368d24600e6d (patch) | |
tree | 065cbaee51791d3a35f15547a3c3ff77c97db83a /src/cmd_line.h | |
parent | make struct storage_settings_sqlite opaque (diff) | |
download | cimple-8b4ad891dce51baa3fb306c617f3368d24600e6d.tar.gz cimple-8b4ad891dce51baa3fb306c617f3368d24600e6d.zip |
dedupe command line routines
Diffstat (limited to 'src/cmd_line.h')
-rw-r--r-- | src/cmd_line.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/cmd_line.h b/src/cmd_line.h new file mode 100644 index 0000000..a661825 --- /dev/null +++ b/src/cmd_line.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2023 Egor Tensin <Egor.Tensin@gmail.com> + * This file is part of the "cimple" project. + * For details, see https://github.com/egor-tensin/cimple. + * Distributed under the MIT License. + */ + +#ifndef __CMD_LINE_H__ +#define __CMD_LINE_H__ + +const char *get_usage_string(); + +void exit_with_usage(int ec, const char *argv0); +void exit_with_usage_err(const char *argv0, const char *msg); +void exit_with_version(); + +#endif |