Revision d66aa238 htools/Ganeti/HTools/Program/Hbal.hs

b/htools/Ganeti/HTools/Program/Hbal.hs
62 62
import Ganeti.Jobs
63 63

  
64 64
-- | Options list and functions.
65
options :: [OptType]
65
options :: IO [OptType]
66 66
options =
67
  [ oPrintNodes
68
  , oPrintInsts
69
  , oPrintCommands
70
  , oDataFile
71
  , oEvacMode
72
  , oRapiMaster
73
  , oLuxiSocket
74
  , oIAllocSrc
75
  , oExecJobs
76
  , oGroup
77
  , oMaxSolLength
78
  , oVerbose
79
  , oQuiet
80
  , oOfflineNode
81
  , oMinScore
82
  , oMaxCpu
83
  , oMinDisk
84
  , oMinGain
85
  , oMinGainLim
86
  , oDiskMoves
87
  , oSelInst
88
  , oInstMoves
89
  , oDynuFile
90
  , oExTags
91
  , oExInst
92
  , oSaveCluster
93
  ]
67
  return
68
    [ oPrintNodes
69
    , oPrintInsts
70
    , oPrintCommands
71
    , oDataFile
72
    , oEvacMode
73
    , oRapiMaster
74
    , oLuxiSocket
75
    , oIAllocSrc
76
    , oExecJobs
77
    , oGroup
78
    , oMaxSolLength
79
    , oVerbose
80
    , oQuiet
81
    , oOfflineNode
82
    , oMinScore
83
    , oMaxCpu
84
    , oMinDisk
85
    , oMinGain
86
    , oMinGainLim
87
    , oDiskMoves
88
    , oSelInst
89
    , oInstMoves
90
    , oDynuFile
91
    , oExTags
92
    , oExInst
93
    , oSaveCluster
94
    ]
94 95

  
95 96
-- | The list of arguments supported by the program.
96 97
arguments :: [ArgCompletion]

Also available in: Unified diff