Commands with missing arguments exit with return code 0

Bug #2076246 reported by Martin Kalcok
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
microovn
New
Undecided
Unassigned

Bug Description

It's common practice in microovn commands to return `cmd.Help()`[0] if they are missing arguments. However this causes the process to exit with return code 0 which is misleading.

[0]https://github.com/canonical/microovn/blob/5fdc69745d577a47c804788c1d9fc265f0b62750/microovn/cmd/microovn/cluster_join.go#L30

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.