|
|
|
@ -17,7 +17,7 @@
|
|
|
|
|
"""
|
|
|
|
|
TODO:
|
|
|
|
|
- Fix running standalone:
|
|
|
|
|
* KCmdLineArgs stuff.
|
|
|
|
|
* TDECmdLineArgs stuff.
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
import sys
|
|
|
|
@ -278,14 +278,14 @@ if standalone:
|
|
|
|
|
device = "/dev/hda1"
|
|
|
|
|
print 'Device is ', device
|
|
|
|
|
|
|
|
|
|
cmd_args = KCmdLineArgs.init(sys.argv, "FUser",
|
|
|
|
|
cmd_args = TDECmdLineArgs.init(sys.argv, "FUser",
|
|
|
|
|
"A graphical frontend to fuser, but without using it :-)", "0.2")
|
|
|
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------
|
|
|
|
|
# FIXME: All the arg-parsing stuff does not work yet since I don't understand KCmdLineArgs.
|
|
|
|
|
# FIXME: All the arg-parsing stuff does not work yet since I don't understand TDECmdLineArgs.
|
|
|
|
|
options = [("device <device>", "Device to umount")]
|
|
|
|
|
KCmdLineArgs.addCmdLineOptions(options)
|
|
|
|
|
args = KCmdLineArgs.parsedArgs()
|
|
|
|
|
TDECmdLineArgs.addCmdLineOptions(options)
|
|
|
|
|
args = TDECmdLineArgs.parsedArgs()
|
|
|
|
|
# print args.count()
|
|
|
|
|
# ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|