cli
cli copied to clipboard
Fix submit command usage
Fixes #1063
Ready to review.
Just a side note about formatting: CI initially was complaining the code was not formatted with go fmt. I found this weird, because my editor runs go fmt to format the code. Turns out the problem seems to be that go1.15 fmt ./... and go1.19 fmt ./... don't agree on the formatting. I had to run go1.15 fmt ./... for CI to be happy. This meant Use: " having just 1 space between the : and ". On the other hand, go1.19 fmt ./... puts more spaces, in an attempt to align all the values of the struct vertically. I like the go1.19 formatting more, but used the go1.15 formatting for CI to pass.
Should that merge have been a rebase on main instead of a merge of main into this branch?