diff --git a/flist.v b/flist.v index 1cec0f5..c5669cb 100644 --- a/flist.v +++ b/flist.v @@ -494,8 +494,10 @@ fn help() { println('This tool turns Dockerfiles and Docker images directly into Flists on the TF Flist Hub, passing by the Docker Hub.\n') println(term.bold('Available commands:')) - println(term.cyan(' install ') + '- Install the Flist CLI') - println(term.cyan(' uninstall ') + '- Uninstall the Flist CLI') + $if !windows { + println(term.cyan(' install ') + '- Install the Flist CLI') + println(term.cyan(' uninstall ') + '- Uninstall the Flist CLI') + } println(term.cyan(' login ') + '- Log in to Docker Hub and save the Flist Hub token') println(term.cyan(' logout ') + '- Log out of Docker Hub and remove the Flist Hub token') println(term.cyan(' push ') + @@ -506,8 +508,10 @@ fn help() { println(term.cyan(' ls url ') + '- List all Flists of the current user with full URLs') println(term.cyan(' help ') + '- Display this help message\n') println(term.bold('Usage:')) - println(term.yellow(' sudo ./flist install')) - println(term.yellow(' sudo flist uninstall')) + $if !windows { + println(term.yellow(' sudo ./flist install')) + println(term.yellow(' sudo flist uninstall')) + } println(term.yellow(' flist login')) println(term.yellow(' flist logout')) println(term.yellow(' flist push :'))