netplan-apply uses --debug not -debug

Bug #1875894 reported by linux64kb on 2020-04-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Manpage Repository

Bug Description
manpage mentions '-debug' as the switch for the 'netplan apply', although the correct switch is '--debug'.
please correct

       netplan [–debug] apply -h | –help

       netplan [–debug] apply


       netplan [–-debug] apply -h | –help

       netplan [–-debug] apply

Checked on 18.04 LTS, plese see the examples below
netplan -debug apply -> empty prompt instead of debug output
netplan --debug apply -> gives the debug output
** (generate:11117): DEBUG: 15:55:28.360: Processing input file /etc/netplan/01-netcfg.yaml..
** (generate:11117): DEBUG: 15:55:28.360: starting new processing pass

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

Other bug subscribers