aboutsummaryrefslogtreecommitdiff
path: root/src/cli/stasis/args.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-10-14 12:21:32 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-10-14 12:21:32 -0400
commit26000fb8e6cc08c227d4463de60e28881179e5cb (patch)
tree48978ff793f2a969df196cfa7700100e5c82a2f5 /src/cli/stasis/args.h
parenta29bca4b79f19e9f04420b545bdec27ddc99150c (diff)
downloadstasis-restructure-the-world.tar.gz
Reduce length of stasis_main.crestructure-the-world
Diffstat (limited to 'src/cli/stasis/args.h')
-rw-r--r--src/cli/stasis/args.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/cli/stasis/args.h b/src/cli/stasis/args.h
new file mode 100644
index 0000000..932eac7
--- /dev/null
+++ b/src/cli/stasis/args.h
@@ -0,0 +1,23 @@
+#ifndef STASIS_ARGS_H
+#define STASIS_ARGS_H
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <getopt.h>
+
+#define OPT_ALWAYS_UPDATE_BASE 1000
+#define OPT_NO_DOCKER 1001
+#define OPT_NO_ARTIFACTORY 1002
+#define OPT_NO_ARTIFACTORY_BUILD_INFO 1003
+#define OPT_NO_TESTING 1004
+#define OPT_OVERWRITE 1005
+#define OPT_NO_REWRITE_SPEC_STAGE_2 1006
+#define OPT_FAIL_FAST 1007
+#define OPT_NO_PARALLEL 1008
+#define OPT_POOL_STATUS_INTERVAL 1009
+
+extern struct option long_options[];
+void usage(char *progname);
+
+#endif //STASIS_ARGS_H