You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typecatstruct {
NumberNonblankbool`clop:"-b;--number-nonblank" usage:"number nonempty output lines, overrides"`ShowEndsbool`clop:"-E;--show-ends" usage:"display $ at end of each line"`Numberbool`clop:"-n;--number" usage:"number all output lines"`SqueezeBlankbool`clop:"-s;--squeeze-blank" usage:"suppress repeated empty output lines"`ShowTabbool`clop:"-T;--show-tabs" usage:"display TAB characters as ^I"`ShowNonprintingbool`clop:"-v;--show-nonprinting" usage:"use ^ and M- notation, except for LFD and TAB" `Args []string`clop:"args"`
}
c:=cat{}
clop.Bind(&c)
The text was updated successfully, but these errors were encountered:
在shell里面,没有被当成命令行选项的参数,一般另有用途,clop提供args tag,用于保存下面的r.go pool.c会存放至cat.Args变量里。
clop用法
The text was updated successfully, but these errors were encountered: