Modify

Opened 4 years ago

#16809 new defect

Incorrect info in uci usage

Reported by: Ingram Owned by: developers
Priority: low Milestone: Chaos Calmer 15.05
Component: base system Version: Trunk
Keywords: Cc:

Description

Nothing too serious, but usage says that -n would be default, but -N is default instead.

root@OpenWrt:/# uci
Usage: uci [<options>] <command> [<arguments>]
...
Options:
...
        -n         name unnamed sections on export (default)
        -N         don't name unnamed sections
...
root@OpenWrt:/# uci export
...
config wifi-iface
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'
root@OpenWrt:/# uci export -N
...
config wifi-iface
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'
root@OpenWrt:/# uci export -n
...
config wifi-iface 'cfg033579'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.