git: 6c8ad124a253 - stable/13 - cli.lua.8: make the command match the code

Warner Losh imp at FreeBSD.org
Sun Sep 12 16:35:26 UTC 2021


The branch stable/13 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=6c8ad124a253e42285a809667aad51853e724d19

commit 6c8ad124a253e42285a809667aad51853e724d19
Author:     Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-07-29 02:53:18 +0000
Commit:     Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-09-12 15:56:15 +0000

    cli.lua.8: make the command match the code
    
    It's disable-device, not device-disable
    
    Spotted by:             jrtc27
    Sponsored by:           Netflix
    
    (cherry picked from commit 6b51baf6a8de7241a4e1b0c8436d70299cd55270)
---
 stand/lua/cli.lua.8 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/stand/lua/cli.lua.8 b/stand/lua/cli.lua.8
index fe1cd0450557..2d6df3fd4e6b 100644
--- a/stand/lua/cli.lua.8
+++ b/stand/lua/cli.lua.8
@@ -91,7 +91,7 @@ module provides the following default commands:
 .It
 .Ic reload-conf
 .It
-.Ic device-disable
+.Ic disable-device
 .It
 .Ic disable-module
 .It
@@ -135,7 +135,7 @@ command will dump the list of modules that loader has been made aware of and
 any applicable options using paged output.
 .Pp
 The
-.Ic device-disable
+.Ic disable-device
 command sets the environment variable that disables the device argument.
 .Ss Exported Functions
 The following functions are exported from


More information about the dev-commits-src-all mailing list