mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
42d03da306
Signed-off-by: David Mulder <dmulder@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
12 lines
327 B
Python
Executable File
12 lines
327 B
Python
Executable File
#!/usr/bin/python3
|
|
import optparse
|
|
|
|
if __name__ == "__main__":
|
|
parser = optparse.OptionParser('gio <cmd> <url> [options]')
|
|
parser.add_option('--unmount')
|
|
|
|
(opts, args) = parser.parse_args()
|
|
|
|
assert args[0] == 'mount', 'Unrecognized command `gio %s`' % args[0]
|
|
assert len(args) == 2, 'Missing url parameter'
|