Skip to content

Commit

Permalink
Update long help
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Apr 27, 2019
1 parent add797b commit f21f9e2
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions cmd/helps.gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ var helps = map[string]help{
"comma (\",\").\n",
example: "" +
" chezmoi chattr template ~/.bashrc\n" +
" chezmoi chattr noempty ~/.profile",
" chezmoi chattr noempty ~/.profile\n" +
" chezmoi chattr private,template ~/.netrc",
},
"completion": {
long: "" +
Expand Down Expand Up @@ -182,13 +183,31 @@ var helps = map[string]help{
},
"import": {
long: "" +
"FIXME document\n" +
"Import the source state from an archive file in to a directory in the source\n" +
"state. This is primarily used to make subdirectories of your home directory\n" +
"exactly match the contents of a downloaded archive. You will generally always\n" +
"want to set the \"--destination\", \"--exact\", and \"--remove-destination\" flags.\n" +
"\n" +
"The only supported archive format is \".tar.gz\".\n" +
"\n" +
"\"--destination\" directory\n" +
"\n" +
"Set the destination (in the source state) where the archive will be imported.\n" +
"\n" +
"\"-x\" / \"--exact\"\n" +
"\n" +
"Set the \"exact\" attribute on all imported directories.\n" +
"\n" +
"\"-r\", \"--remove-destination\"\n" +
"\n" +
"\"--strip-components\"\n",
"Remove destination (in the source state) before importing.\n" +
"\n" +
"\"--strip-components\" n\n" +
"\n" +
"Strip n leading components from paths.\n",
example: "" +
" curl -s -L -o oh-my-zsh-master.tar.gz https://github.com/robbyrussell/oh-my-zsh/archive/master.tar.gz\n" +
" chezmoi import --strip-components 1 --destination ~/.oh-my-zsh oh-my-zsh-master.tar.gz",
},
"init": {
long: "" +
Expand Down

0 comments on commit f21f9e2

Please sign in to comment.