aboutsummaryrefslogtreecommitdiffstats
path: root/sgsnemu/cmdline.ggo
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-09-24 10:23:24 +0800
committerHarald Welte <laforge@gnumonks.org>2017-09-24 10:47:50 +0800
commit078bc097fca2f3482da8fd2c25d84d9275eaabab (patch)
treebfca647fa72856a7d50a5cf6a4265b3d7df9348e /sgsnemu/cmdline.ggo
parent3cce289e4bb5891cd16e95e2d1b9e9660bdde291 (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')
-rw-r--r--sgsnemu/cmdline.ggo6
1 files changed, 5 insertions, 1 deletions
diff --git a/sgsnemu/cmdline.ggo b/sgsnemu/cmdline.ggo
index 620ae7a..540cd8e 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