Improve usage help display

This commit is contained in:
RatzzFatzz
2025-12-09 04:34:32 +01:00
parent f08a6ef1da
commit 0b8dfa7464

View File

@@ -17,12 +17,14 @@ import picocli.CommandLine;
@Slf4j @Slf4j
@CommandLine.Command( @CommandLine.Command(
name = "mkvaudiosubtitlechanger", name = "mkvaudiosubtitlechanger",
usageHelpWidth = 120, usageHelpAutoWidth = true,
customSynopsis = { customSynopsis = {
"mkvaudiosubtitlechanger -a <attributeConfig> [...<attributeConfig>] -l <libraryPath> [-s]", "mkvaudiosubtitlechanger -a <attributeConfig> [...<attributeConfig>] -l <libraryPath> [-s]",
"Example: mkvaudiosubtitlechanger -a eng:eng eng:ger -l /mnt/media/ -s", "Example: mkvaudiosubtitlechanger -a eng:eng eng:ger -l /mnt/media/ -s",
"" ""
}, },
requiredOptionMarker = '*',
sortOptions = false,
mixinStandardHelpOptions = true, mixinStandardHelpOptions = true,
versionProvider = ProjectUtil.class versionProvider = ProjectUtil.class
) )