--recompile now forces recompilation of xmonad.hs

This commit is contained in:
Spencer Janssen 2008-03-24 21:24:53 +00:00
parent ac103b8472
commit 4c69a85b3f
2 changed files with 3 additions and 8 deletions

View File

@ -38,8 +38,7 @@ main = do
[] -> launch
["--resume", _] -> launch
["--help"] -> usage
["--recompile"] -> recompile False >> return ()
["--recompile-force"] -> recompile True >> return ()
["--recompile"] -> recompile True >> return ()
["--version"] -> putStrLn ("xmonad " ++ showVersion version)
#ifdef TESTING
("--run-tests":_) -> Properties.main
@ -54,8 +53,7 @@ usage = do
"Options:" :
" --help Print this message" :
" --version Print the version number" :
" --recompile Recompile your ~/.xmonad/xmonad.hs if it's been changed" :
" --recompile-force Recompile your ~/.xmonad/xmonad.hs" :
" --recompile Recompile your ~/.xmonad/xmonad.hs" :
#ifdef TESTING
" --run-tests Run the test suite" :
#endif

View File

@ -22,10 +22,7 @@ When running with multiple monitors (Xinerama), each screen has exactly 1 worksp
\fBxmonad\fR has several flags which you may pass to the executable. These flags are:
.TP
\fB--recompile
Recompiles your configuration in ~/.xmonad/xmonad.hs if it is newer than your already existing ~/.xmonad/xmonad executable.
.TP
\fB--recompile-force
Unconditionally recompiles your configuration in ~/.xmonad/xmonad.hs.
Recompiles your configuration in ~/.xmonad/xmonad.hs
.TP
\fB--version
Display version of \fBxmonad\fR.