4b59b004f1
Previously, 'opal -h', 'opal --help', and 'opal help' would show the list command help instead of the root command help. This was because the argument preprocessing logic would rewrite these as 'opal list -h' before Cobra could handle them. Now we detect help flags/command before preprocessing and let Cobra handle them naturally. This ensures: - 'opal -h' and 'opal --help' show root help - 'opal help' shows root help - 'opal help <command>' shows command-specific help - 'opal <command> -h' still shows command-specific help - All existing flexible syntax continues to work