aboutsummaryrefslogtreecommitdiff
path: root/fesvr
diff options
context:
space:
mode:
authorJerry Zhao <jerryz123@berkeley.edu>2023-03-07 13:13:47 -0800
committerJerry Zhao <jerryz123@berkeley.edu>2023-03-07 13:16:53 -0800
commit1851b45baf581e90705deeaabfddbca06faef192 (patch)
treee5df712858bd8af595d8c33213b35e8193eb0c4d /fesvr
parent0243455b2702838a4efe6a14f1a74fc08013c431 (diff)
downloadriscv-isa-sim-1851b45baf581e90705deeaabfddbca06faef192.zip
riscv-isa-sim-1851b45baf581e90705deeaabfddbca06faef192.tar.gz
riscv-isa-sim-1851b45baf581e90705deeaabfddbca06faef192.tar.bz2
fesvr: fix +signature-granularity opt parsing to be required_arg
Diffstat (limited to 'fesvr')
-rw-r--r--fesvr/htif.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fesvr/htif.h b/fesvr/htif.h
index e493477..18ba766 100644
--- a/fesvr/htif.h
+++ b/fesvr/htif.h
@@ -144,7 +144,7 @@ TARGET (RISC-V BINARY) OPTIONS\n\
{"signature", required_argument, 0, HTIF_LONG_OPTIONS_OPTIND + 2 }, \
{"chroot", required_argument, 0, HTIF_LONG_OPTIONS_OPTIND + 3 }, \
{"payload", required_argument, 0, HTIF_LONG_OPTIONS_OPTIND + 4 }, \
-{"signature-granularity", optional_argument, 0, HTIF_LONG_OPTIONS_OPTIND + 5 }, \
+{"signature-granularity", required_argument, 0, HTIF_LONG_OPTIONS_OPTIND + 5 }, \
{"target-argument", required_argument, 0, HTIF_LONG_OPTIONS_OPTIND + 6 }, \
{0, 0, 0, 0}