You've already forked pgbackrest
							
							
				mirror of
				https://github.com/pgbackrest/pgbackrest.git
				synced 2025-10-30 23:37:45 +02:00 
			
		
		
		
	Improvements to command/command-line help:
* Move repository options into a separate section in command/command-line help. (Suggested by Stephen Frost.) * Fix description of --online based on the command context. * Remove vestigial repository options from backup command.
This commit is contained in:
		| @@ -858,23 +858,15 @@ sub helpCommandDocGetOptionFind | ||||
|     { | ||||
|         $oOption = $$oConfigHelpData{&CONFIG_HELP_OPTION}{$strOption}; | ||||
|  | ||||
|         if (defined($$oOption{&CONFIG_HELP_SECTION})) | ||||
|         if (defined($$oOption{&CONFIG_HELP_SECTION}) && $strSection ne $strCommand) | ||||
|         { | ||||
|             $strSection = $$oOption{&CONFIG_HELP_SECTION}; | ||||
|  | ||||
|             if ($strSection eq CONFIG_SECTION_COMMAND) | ||||
|             { | ||||
|                 $strSection = CONFIG_SECTION_GENERAL; | ||||
|             } | ||||
|         } | ||||
|         else | ||||
|         { | ||||
|             $strSection = CONFIG_SECTION_GENERAL; | ||||
|         } | ||||
|  | ||||
|         if (($strSection ne CONFIG_SECTION_GENERAL && $strSection ne CONFIG_SECTION_LOG && | ||||
|              $strSection ne CONFIG_SECTION_STANZA && $strSection ne CONFIG_SECTION_EXPIRE) || | ||||
|              $strSection eq $strCommand) | ||||
|              $strSection ne CONFIG_SECTION_REPOSITORY && $strSection ne CONFIG_SECTION_STANZA && | ||||
|              $strSection ne CONFIG_SECTION_EXPIRE) || | ||||
|             $strSection eq $strCommand) | ||||
|         { | ||||
|             $strSection = CONFIG_HELP_COMMAND; | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user