浏览代码

Update usage and man page

morganamilo 6 年之前
父节点
当前提交
5ef38c12bd
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      cmd.go
  2. 2 2
      doc/yay.8

+ 2 - 2
cmd.go

@@ -29,7 +29,7 @@ operations:
 
 New operations:
     yay {-Y --yay}         [options] [package(s)]
-    yay {-P --print}       [options]
+    yay {-P --show}        [options]
     yay {-G --getpkgbuild} [package(s)]
 
 New options:
@@ -111,7 +111,7 @@ Permanent configuration options:
 Print specific options:
     -c --complete         Used for completions
     -d --defaultconfig    Print default yay configuration
-    -g --config           Print current yay configuration
+    -g --currentconfig    Print current yay configuration
     -s --stats            Display system package statistics
     -w --news             Print arch news
 

+ 2 - 2
doc/yay.8

@@ -26,7 +26,7 @@ Perform yay specific operations. This is the default if no other operation is
 selected.
 
 .TP
-.B \-P, \-\-print
+.B \-P, \-\-show
 Perform yay specific print operations.
 
 .TP
@@ -101,7 +101,7 @@ During complete adjust the output for the fish shell.
 Print default yay configuration.
 
 .TP
-.B \-g, \-\-config
+.B \-g, \-\-currentconfig
 Print current yay configuration.
 
 .TP