update tool/hub_ctrl.py from Gnuk
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 22 Aug 2013 05:41:09 +0000 (14:41 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 22 Aug 2013 05:41:09 +0000 (14:41 +0900)
tool/hub_ctrl.py

index 721b7d1..684b3bd 100755 (executable)
@@ -167,7 +167,7 @@ if __name__ == '__main__':
                 option = sys.argv[1]
                 sys.argv.pop(1)
                 if option == '-h':
-                    if bunum != None or devnum != None:
+                    if busnum != None or devnum != None:
                         exit_with_usage(sys.argv[0])
                     hub = int(sys.argv[1])
                     sys.argv.pop(1)