Skip to content

Commit

Permalink
Fixed incorrect filename for help message
Browse files Browse the repository at this point in the history
  • Loading branch information
tcwan committed Jun 14, 2018
1 parent 790da39 commit e071231
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/nxtfilemgr
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.

PROGNAME = "nxtfilemgr"
VERSION="1.02"
CONNECT_STRING = "Connect to NXT"
PROTOCOL_VER = (1, 124)
Expand Down Expand Up @@ -428,8 +429,8 @@ if __name__ == '__main__':
DEBUG = True

if '--help' in arguments:
print("nxt_filemgr -- Simple GUI to manage files on a LEGO Mindstorms NXT\n\
Usage: nxt_filemgr [--host <macaddress>]")
print("%s -- Simple GUI to manage files on a LEGO Mindstorms NXT\n\
Usage: %s [--host <macaddress>]" % (PROGNAME, PROGNAME))
exit(0)

win = NXT_FileMgr()
Expand Down

0 comments on commit e071231

Please sign in to comment.