path: root/sgsnemu/cmdline.ggo
diff options
authorHarald Welte <laforge@gnumonks.org>2017-09-24 10:23:24 +0800
committerHarald Welte <laforge@gnumonks.org>2017-09-24 10:27:07 +0800
commitf621498129023a17f8023d1f865cfe66ba9c235a (patch)
tree95632243f01a88802fee38ee122b31943088198b /sgsnemu/cmdline.ggo
parent7c20148e396928f587a3719e092a8d1486664773 (diff)
sgsnemu: Re-generate cmdline.[ch] using gengetopt
This will replace the manual additions to cmdline.[ch] with auto-generated code from gengetopt. We need to fix-up the RAT Type in sgsnemu.c as the manually-added code diverged from what gengetopt generates. Change-Id: Ia687e13d5cec1655a57078a767d2123aa022842c
Diffstat (limited to 'sgsnemu/cmdline.ggo')
1 files changed, 5 insertions, 1 deletions
diff --git a/sgsnemu/cmdline.ggo b/sgsnemu/cmdline.ggo
index 2170e8b..0184775 100644
--- a/sgsnemu/cmdline.ggo
+++ b/sgsnemu/cmdline.ggo
@@ -6,7 +6,11 @@
# notice and this permission notice is included in all copies or
# substantial portions of the software.
-# Use "gengetopt --conf-parser < cmdline.ggo"
+# Use
+# gengetopt --conf-parser < cmdline.ggo
+# linux-2.6/scripts/Lindent cmdline.c
+# linux-2.6/scripts/Lindent cmdline.h
+# sed -i -e 's/int qose1_arg;/unsigned long long int qose1_arg;/' cmdline.h
# to generate cmdline.c and cmdline.h
option "debug" d "Run in debug mode" flag off