aboutsummaryrefslogtreecommitdiff
path: root/src/partial_sim.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-01-10 16:36:39 +0100
committerThomas White <taw@physics.org>2013-01-10 16:36:39 +0100
commit271e3810442cca7ba43f1aee775c36180781372a (patch)
tree5852fcb9a6bf92915e049b0b26ee8c6d4d64ab4b /src/partial_sim.c
parenta64d5b1492a7eda72f3ff1162742f6c2aed21410 (diff)
Handle '?' return value from getopt_long()
Diffstat (limited to 'src/partial_sim.c')
-rw-r--r--src/partial_sim.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index e9a7003e..facf14ef 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -404,6 +404,9 @@ int main(int argc, char *argv[])
case 0 :
break;
+ case '?' :
+ break;
+
default :
ERROR("Unhandled option '%c'\n", c);
break;