Revision d66aa238 htools/Ganeti/HTools/Program/Hcheck.hs
b/htools/Ganeti/HTools/Program/Hcheck.hs | ||
---|---|---|
50 | 50 |
import Ganeti.Utils |
51 | 51 |
|
52 | 52 |
-- | Options list and functions. |
53 |
options :: [OptType] |
|
53 |
options :: IO [OptType]
|
|
54 | 54 |
options = |
55 |
[ oDataFile |
|
56 |
, oDiskMoves |
|
57 |
, oDynuFile |
|
58 |
, oEvacMode |
|
59 |
, oExInst |
|
60 |
, oExTags |
|
61 |
, oIAllocSrc |
|
62 |
, oInstMoves |
|
63 |
, oLuxiSocket |
|
64 |
, oMachineReadable |
|
65 |
, oMaxCpu |
|
66 |
, oMaxSolLength |
|
67 |
, oMinDisk |
|
68 |
, oMinGain |
|
69 |
, oMinGainLim |
|
70 |
, oMinScore |
|
71 |
, oNoSimulation |
|
72 |
, oOfflineNode |
|
73 |
, oQuiet |
|
74 |
, oRapiMaster |
|
75 |
, oSelInst |
|
76 |
, oVerbose |
|
77 |
] |
|
55 |
return |
|
56 |
[ oDataFile |
|
57 |
, oDiskMoves |
|
58 |
, oDynuFile |
|
59 |
, oEvacMode |
|
60 |
, oExInst |
|
61 |
, oExTags |
|
62 |
, oIAllocSrc |
|
63 |
, oInstMoves |
|
64 |
, oLuxiSocket |
|
65 |
, oMachineReadable |
|
66 |
, oMaxCpu |
|
67 |
, oMaxSolLength |
|
68 |
, oMinDisk |
|
69 |
, oMinGain |
|
70 |
, oMinGainLim |
|
71 |
, oMinScore |
|
72 |
, oNoSimulation |
|
73 |
, oOfflineNode |
|
74 |
, oQuiet |
|
75 |
, oRapiMaster |
|
76 |
, oSelInst |
|
77 |
, oVerbose |
|
78 |
] |
|
78 | 79 |
|
79 | 80 |
-- | The list of arguments supported by the program. |
80 | 81 |
arguments :: [ArgCompletion] |
Also available in: Unified diff