cli: Move all long-option keys into cli.h
Gather all long-option key values in `cli.h` so we can have a single
enum that counts the numbers up and thus provides unique values.
Change-Id: Id9fb27b442308ee7a7d59282f6db1f8f18ef20f2
Signed-off-by: Nico Huber <nico.h@gmx.de>
diff --git a/include/cli.h b/include/cli.h
index aef0b8d..fb55191 100644
--- a/include/cli.h
+++ b/include/cli.h
@@ -18,6 +18,15 @@
enum {
OPTION_CHIP = 'c',
OPTION_PROGRAMMER = 'p',
+
+ /* Options below have only long option names, i.e. no single char: */
+ OPTION_IFD = 0x0100,
+ OPTION_FMAP,
+ OPTION_FMAP_FILE,
+ OPTION_FLASH_CONTENTS,
+ OPTION_FLASH_NAME,
+ OPTION_FLASH_SIZE,
+ OPTION_PROGRESS,
};
struct flash_args {