account: add more description in the command-specific help
This commit is contained in:
		
							parent
							
								
									a4a332e64f
								
							
						
					
					
						commit
						19eb45cb68
					
				@ -29,6 +29,9 @@ import Hledger.Cli.Options
 | 
				
			|||||||
-- | Command line options for this command.
 | 
					-- | Command line options for this command.
 | 
				
			||||||
accountsmode = (defCommandMode $ ["accounts"] ++ aliases ++ hiddenaliases) {
 | 
					accountsmode = (defCommandMode $ ["accounts"] ++ aliases ++ hiddenaliases) {
 | 
				
			||||||
  modeHelp = "show account names" `withAliases` aliases
 | 
					  modeHelp = "show account names" `withAliases` aliases
 | 
				
			||||||
 | 
					 ,modeHelpSuffix = [
 | 
				
			||||||
 | 
					    "This command lists the accounts referenced by matched postings (and in tree mode, their parents as well). The accounts can be depth-clipped (--depth N or depth:N) or have their leading components dropped (--drop N)."
 | 
				
			||||||
 | 
					   ]
 | 
				
			||||||
 ,modeGroupFlags = C.Group {
 | 
					 ,modeGroupFlags = C.Group {
 | 
				
			||||||
     groupUnnamed = [
 | 
					     groupUnnamed = [
 | 
				
			||||||
      flagNone ["flat"] (\opts -> setboolopt "flat" opts) "show full account names, as a list (default)"
 | 
					      flagNone ["flat"] (\opts -> setboolopt "flat" opts) "show full account names, as a list (default)"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user