Skip to content

Instantly share code, notes, and snippets.

@Pretz
Created March 18, 2013 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pretz/5188612 to your computer and use it in GitHub Desktop.
Save Pretz/5188612 to your computer and use it in GitHub Desktop.
Apparently Apple doesn't understand how command line arguments work
alex@alex-silvercar:~/dev/mobile/driverapp/driverapp $ genstrings --help
alex@alex-silvercar:~/dev/mobile/driverapp/driverapp $ genstrings -h
alex@alex-silvercar:~/dev/mobile/driverapp/driverapp $ genstrings -help
alex@alex-silvercar:~/dev/mobile/driverapp/driverapp $ genstrings
Usage: genstrings [OPTION] file1.[mc] ... filen.[mc]
Options
-j sets the input language to Java.
-a append output to the old strings files.
-s substring substitute 'substring' for NSLocalizedString.
-skipTable tablename skip over the file for 'tablename'.
-noPositionalParameters turns off positional parameter support.
-u allow unicode characters.
-macRoman read files as MacRoman not UTF-8.
-q turns off multiple key/value pairs warning.
-bigEndian output generated with big endian byte order.
-littleEndian output generated with little endian byte order.
-o dir place output files in 'dir'.
Please see the genstrings(1) man page for full documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment