Skip to content

Commit 2e1af10

Browse files
committed
CLI updates
1 parent 10dbbb1 commit 2e1af10

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/Lib.hs

+7-6
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,17 @@ argConfig :: Config
3131
argConfig = Config
3232
{ access_key = def &=
3333
typ "S3_ACCESS_KEY" &=
34-
help "Set the AWS access key"
34+
help "Set the AWS access key" &=
35+
groupname "Flags"
3536
, secret_access_key = def &=
3637
typ "S3_SECRET_ACCESS_KEY" &=
3738
help "Set the AWS secret access key"
3839
, bucket_name = def &=
3940
typ "DOCS_BUCKET_NAME" &=
40-
help "Set the name of the S3 bucket to upload to"
41+
help "Set the name of the S3 bucket"
4142
, project_name = def &=
4243
typ "PROJECT_NAME" &=
43-
help "Set the name of your project, which will be the folder name on S3"
44+
help "Set the name of your project\n\n(should be equivalent to the name of your Github repo)"
4445
, directory = def &=
4546
argPos 0 &=
4647
typ "DIRECTORY_TO_UPLOAD"
@@ -49,9 +50,9 @@ argConfig = Config
4950
verbosity &=
5051
help "Upload a folder to an S3 bucket as a static site" &=
5152
summary "s3ssu v0.0.0, (C) Kofile" &=
52-
details [
53-
"Example use:"
54-
]
53+
details [ ""
54+
, "Example use:"
55+
]
5556

5657

5758
defaultTo :: String -> String -> String

0 commit comments

Comments
 (0)