mirror of
https://github.com/xmonad/xmonad.git
synced 2025-05-19 08:30:21 -07:00
recognize the --replace option
This commit is contained in:
parent
f34642cbac
commit
d16aa9975e
1
Main.hs
1
Main.hs
@ -43,6 +43,7 @@ main = do
|
|||||||
("--resume":_) -> launch
|
("--resume":_) -> launch
|
||||||
["--help"] -> usage
|
["--help"] -> usage
|
||||||
["--recompile"] -> recompile True >>= flip unless exitFailure
|
["--recompile"] -> recompile True >>= flip unless exitFailure
|
||||||
|
["--replace"] -> launch
|
||||||
["--restart"] -> sendRestart >> return ()
|
["--restart"] -> sendRestart >> return ()
|
||||||
["--version"] -> putStrLn $ unwords shortVersion
|
["--version"] -> putStrLn $ unwords shortVersion
|
||||||
["--verbose-version"] -> putStrLn . unwords $ shortVersion ++ longVersion
|
["--verbose-version"] -> putStrLn . unwords $ shortVersion ++ longVersion
|
||||||
|
Loading…
x
Reference in New Issue
Block a user