Revision d66aa238 htools/Ganeti/HTools/Program/Hinfo.hs
b/htools/Ganeti/HTools/Program/Hinfo.hs | ||
---|---|---|
48 | 48 |
import Ganeti.Utils |
49 | 49 |
|
50 | 50 |
-- | Options list and functions. |
51 |
options :: [OptType] |
|
51 |
options :: IO [OptType]
|
|
52 | 52 |
options = |
53 |
[ oPrintNodes |
|
54 |
, oPrintInsts |
|
55 |
, oDataFile |
|
56 |
, oRapiMaster |
|
57 |
, oLuxiSocket |
|
58 |
, oIAllocSrc |
|
59 |
, oVerbose |
|
60 |
, oQuiet |
|
61 |
, oOfflineNode |
|
62 |
] |
|
53 |
return |
|
54 |
[ oPrintNodes |
|
55 |
, oPrintInsts |
|
56 |
, oDataFile |
|
57 |
, oRapiMaster |
|
58 |
, oLuxiSocket |
|
59 |
, oIAllocSrc |
|
60 |
, oVerbose |
|
61 |
, oQuiet |
|
62 |
, oOfflineNode |
|
63 |
] |
|
63 | 64 |
|
64 | 65 |
-- | The list of arguments supported by the program. |
65 | 66 |
arguments :: [ArgCompletion] |
Also available in: Unified diff