equal
deleted
inserted
replaced
88 if (args.size() != 1) { |
88 if (args.size() != 1) { |
89 err << "'" << getName() << "' takes one argument!"; |
89 err << "'" << getName() << "' takes one argument!"; |
90 throwInvalidUsageException(err); |
90 throwInvalidUsageException(err); |
91 } |
91 } |
92 |
92 |
|
93 ioctl.drive_no = 0; // FIXME |
|
94 |
93 try { |
95 try { |
94 ioctl.idn = parseIdn(args[0]); |
96 ioctl.idn = parseIdn(args[0]); |
95 } catch (runtime_error &e) { |
97 } catch (runtime_error &e) { |
96 err << "Invalid IDN '" << args[0] << "': " << e.what(); |
98 err << "Invalid IDN '" << args[0] << "': " << e.what(); |
97 throwInvalidUsageException(err); |
99 throwInvalidUsageException(err); |