aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/cmd_line.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/cmd_line.h17
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