From 822ec14d6833a6c1bc3f8031b867a4bba307a3f2 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 21 Dec 2010 12:17:53 +0100 Subject: [PATCH] Show help and exit with an error if no extraction mode is given --- src/extract/mkvextract.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/extract/mkvextract.cpp b/src/extract/mkvextract.cpp index c654bf4bd..ce2c52c81 100644 --- a/src/extract/mkvextract.cpp +++ b/src/extract/mkvextract.cpp @@ -108,8 +108,7 @@ main(int argc, extract_timecodes(options.m_file_name, options.m_tracks, 2); else - mxerror(Y("mkvextract: Unknown mode!?\n")); + usage(2); return 0; - }