cmd/stfindignored: Default to current directory
This commit is contained in:
@@ -19,6 +19,9 @@ import (
|
|||||||
func main() {
|
func main() {
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
root := flag.Arg(0)
|
root := flag.Arg(0)
|
||||||
|
if root == "" {
|
||||||
|
root = "."
|
||||||
|
}
|
||||||
|
|
||||||
vfs := fs.NewWalkFilesystem(fs.NewFilesystem(fs.FilesystemTypeBasic, root))
|
vfs := fs.NewWalkFilesystem(fs.NewFilesystem(fs.FilesystemTypeBasic, root))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user