lab001

command
v0.0.0-...-f10d331 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 5 Imported by: 0

README

flag包的使用

用来解析命令行的参数

-h参数

-h和-help参数会默认输出帮助信息 Imgur

输入没有定义过的参数会报错(和-h不一样)

Imgur

运行结果

Imgur

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL