Add hint message when compiled without getopt support (#697)

This commit is contained in:
jjceresa 2020-10-27 17:57:21 +01:00 committed by GitHub
parent ef789ad3eb
commit 032700f4e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1142,6 +1142,11 @@ print_help(fluid_settings_t *settings)
printf("Usage: \n");
printf(" fluidsynth [options] [soundfonts] [midifiles]\n");
#ifndef GETOPT_SUPPORT
printf("\nNote:"
"\n This version of fluidsynth was compiled without getopt support."
"\n Thus, the long options are not supported.\n\n");
#endif
printf("Possible options:\n");
printf(" -a, --audio-driver=[label]\n"
" The name of the audio driver to use.\n"