am 87a56eb6: Merge "Use the getopt function in compliance with the standard."

* commit '87a56eb6cc616150d536ed0e70cf8e69e1d5edf6':
  Use the getopt function in compliance with the standard.