Skip to content

Commit

Permalink
extract-ofp-msgs: Correct some user messages.
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Pfaff <[email protected]>
Acked-by: YAMAMOTO Takashi <[email protected]>
  • Loading branch information
blp committed Sep 29, 2014
1 parent ef44aa5 commit 91148d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-aux/extract-ofp-msgs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def extract_ofp_msgs(output_file_name):
while not comment.endswith('*/'):
get_line()
if line.startswith('/*') or not line or line.isspace():
fatal("unexpected syntax within error")
fatal("unexpected syntax within message")
comment += ' %s' % line.lstrip('* \t').rstrip(' \t\r\n')
comment = comment[:-2].rstrip()

Expand Down Expand Up @@ -356,7 +356,7 @@ if __name__ == '__main__':
if '--help' in sys.argv:
usage()
elif len(sys.argv) != 3:
sys.stderr.write("exactly one non-option arguments required; "
sys.stderr.write("exactly two non-option arguments required; "
"use --help for help\n")
sys.exit(1)
else:
Expand Down

0 comments on commit 91148d4

Please sign in to comment.