diff options
-rw-r--r-- | test/test.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/test/test.c b/test/test.c index 39d5ca467..c91ccaf2c 100644 --- a/test/test.c +++ b/test/test.c @@ -141,9 +141,16 @@ static volatile int die = 0; static void SigHandler( int ); /* Utils */ -static void ShowCommands(); static void ShowHelp(); static void ShowPresets(); +static void ShowCommands() +{ + fprintf(stdout, "\nCommands:\n"); + fprintf(stdout, " [h]elp Show this message\n"); + fprintf(stdout, " [q]uit Exit HandBrakeCLI\n"); + fprintf(stdout, " [p]ause Pause encoding\n"); + fprintf(stdout, " [r]esume Resume encoding\n"); +} static int ParseOptions( int argc, char ** argv ); static int CheckOptions( int argc, char ** argv ); @@ -374,15 +381,6 @@ int main( int argc, char ** argv ) return 0; } -static void ShowCommands() -{ - fprintf( stdout, "\nCommands:\n" ); - fprintf( stdout, " [h]elp Show this message\n" ); - fprintf( stdout, " [q]uit Exit HandBrakeCLI\n" ); - fprintf( stdout, " [p]ause Pause encoding\n" ); - fprintf( stdout, " [r]esume Resume encoding\n" ); -} - static void PrintTitleInfo( hb_title_t * title, int feature ) { hb_chapter_t * chapter; |