aboutsummaryrefslogtreecommitdiffstats
path: root/src/opt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opt.h')
-rw-r--r--src/opt.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/opt.h b/src/opt.h
index f751232..4e8921a 100644
--- a/src/opt.h
+++ b/src/opt.h
@@ -1,14 +1,17 @@
#ifndef EVERY_OPT_H
#define EVERY_OPT_H
-enum every_opt_outputmode {
- EVERY_OPT_OUTPUTMODE_CONSOLE = 0,
- EVERY_OPT_OUTPUTMODE_SCRIPT = 1,
+enum every_opt_command {
+ OPT_COMMAND_CONSOLE = 0,
+ OPT_COMMAND_SCRIPT = 1,
+ OPT_COMMAND_EDIT = 1,
};
void opt_parse(int argc, char **argv);
char* opt_calpath(void);
-enum every_opt_outputmode opt_outputmode(void);
+char* opt_editor(void);
+
+enum every_opt_command opt_command(void);
#endif