summaryrefslogtreecommitdiffstats
path: root/core/parser-mpcmd.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-05-15 16:02:52 +0200
committerwm4 <wm4@nowhere>2013-05-15 16:02:52 +0200
commitd4987bf5ebc7f7830259326daf9dc1c685b34ac0 (patch)
tree07cd02a8904d818ed3c5b7916809713f2e8d5889 /core/parser-mpcmd.h
parenta32cc6fcb2d76a396935ee8bddf2023c0f1196be (diff)
downloadmpv-d4987bf5ebc7f7830259326daf9dc1c685b34ac0.tar.bz2
mpv-d4987bf5ebc7f7830259326daf9dc1c685b34ac0.tar.xz
options: fix exit code when using help options
Basically a cosmetic change. Fixes github issue #88.
Diffstat (limited to 'core/parser-mpcmd.h')
-rw-r--r--core/parser-mpcmd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/parser-mpcmd.h b/core/parser-mpcmd.h
index 674903fe4d..256bc514b2 100644
--- a/core/parser-mpcmd.h
+++ b/core/parser-mpcmd.h
@@ -24,9 +24,9 @@
struct playlist;
struct m_config;
-bool m_config_parse_mp_command_line(struct m_config *config,
- struct playlist *files,
- int argc, char **argv);
+int m_config_parse_mp_command_line(struct m_config *config,
+ struct playlist *files,
+ int argc, char **argv);
void m_config_preparse_command_line(struct m_config *config,
int argc, char **argv);