, oOutputDir
, oPrintCommands
, oPrintInsts
+ , oPrintMoves
, oPrintNodes
, oQuiet
, oRapiMaster
, optOfflineMaintenance :: Bool -- ^ Pretend all instances are offline
, optOneStepOnly :: Bool -- ^ Only do the first step
, optOutPath :: FilePath -- ^ Path to the output directory
+ , optPrintMoves :: Bool -- ^ Whether to show the instance moves
, optSaveCluster :: Maybe FilePath -- ^ Save cluster state to this file
, optShowCmds :: Maybe FilePath -- ^ Whether to show the command list
, optShowHelp :: Bool -- ^ Just show the help
, optOfflineMaintenance = False
, optOneStepOnly = False
, optOutPath = "."
+ , optPrintMoves = False
, optSaveCluster = Nothing
, optShowCmds = Nothing
, optShowHelp = False
"print the final instance map",
OptComplNone)
+oPrintMoves :: OptType
+oPrintMoves =
+ (Option "" ["print-moves"]
+ (NoArg (\ opts -> Ok opts { optPrintMoves = True }))
+ "print the moves of the instances",
+ OptComplNone)
+
oPrintNodes :: OptType
oPrintNodes =
(Option "p" ["print-nodes"]