#16809: Incorrect info in uci usage
-------------------------+-------------------------------------
 Reporter:  Ingram       |      Owner:  developers
     Type:  defect       |     Status:  new
 Priority:  low          |  Milestone:  Barrier Breaker (trunk)
Component:  base system  |    Version:  Trunk
 Keywords:               |
-------------------------+-------------------------------------
 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'
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/16809>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to