| Copyright | (c) 2022 Tim Emiola |
|---|---|
| License | BSD3 |
| Maintainer | Tim Emiola <adetokunbo@emio.la> |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
System.MemInfo.Choices
Description
This module defines the command line flags used to control the behavior of the printmem command
Synopsis
- data Choices = Choices {
- choiceSplitArgs :: !Bool
- choiceOnlyTotal :: !Bool
- choiceByPid :: !Bool
- choiceShowSwap :: !Bool
- choiceWatchSecs :: !(Maybe Natural)
- choicePidsToShow :: !(Maybe (NonEmpty ProcessID))
- cmdInfo :: ParserInfo Choices
- getChoices :: IO Choices
Documentation
Represents the user-specified choices extracted from the command line
Constructors
| Choices | |
Fields
| |
cmdInfo :: ParserInfo Choices Source #
Specifies a command line that when parsed will provide Choices
getChoices :: IO Choices Source #
Parses the command line arguments.