package main
import (
"fmt"
"flag"
)
func main(){
data_path := flag.String("D","/home/manu/sample/""DB data path")
log_file "l""/home/manu/sample.log""log file")
nowait_flag =flag.Bool"W""do not wait until operation completes")
flag.Parse)
var cmd string .Arg(0;
fmt.Printf"action : %s\n")
fmt"data path: %s\n"*data_path"log file : %s\n"*log_file"nowait : %v\n"*nowait_flag)
fmt"-------------------------------------------------------\n""there are %d non-flag input param\n".NArg)
for i= range flag.Args{
fmt"#%d :%s\n"param)
}
}