mirror of
https://github.com/gregtwallace/apc-p15-tool.git
synced 2025-07-09 09:06:34 +00:00
debug: add base64 encoded debug files
When troubleshooting it is helpful to put the generated files into an asn1 decoder. The files can be copy/pasted easily in b64 format. This change creates b64 files when the debug flag is set to make this process easier.
This commit is contained in:
parent
01be6ca577
commit
da84a7b085
3 changed files with 29 additions and 1 deletions
pkg/app
|
@ -57,7 +57,7 @@ func (app *app) getConfig(args []string) error {
|
|||
// apc-p15-tool -- root command
|
||||
rootFlags := ff.NewFlagSet("apc-p15-tool")
|
||||
|
||||
cfg.debugLogging = rootFlags.BoolLong("debug", "set this flag to enable additional debug logging messages")
|
||||
cfg.debugLogging = rootFlags.BoolLong("debug", "set this flag to enable additional debug logging messages and files")
|
||||
|
||||
rootCmd := &ff.Command{
|
||||
Name: "apc-p15-tool",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue