Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Juicedata
JuiceFS
提交
bb96fdcd
JuiceFS
项目概览
Juicedata
/
JuiceFS
通知
10
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
JuiceFS
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
bb96fdcd
编写于
11月 09, 2020
作者:
D
Davies Liu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update usage in README
上级
e1c2878e
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
11 addition
and
6 deletion
+11
-6
README.md
README.md
+7
-4
main.go
main.go
+3
-1
versioninfo/versioninfo.go
versioninfo/versioninfo.go
+1
-1
未找到文件。
README.md
浏览文件 @
bb96fdcd
...
...
@@ -47,14 +47,14 @@ We use go mod to manage modules, if not sure how to use this, refer to [The offi
```
$ juicesync -h
NAME:
juicesync - Usage: juicesync [options] SRC DST
SRC and DST should be [NAME://][ACCESS_KEY:SECRET_KEY@]BUCKET.ENDPOINT[/PREFIX]
juicesync - rsync for cloud storage
USAGE:
juicesync [global options] command [command options] [arguments...]
juicesync [options] SRC DST
SRC and DST should be [NAME://][ACCESS_KEY:SECRET_KEY@]BUCKET[.ENDPOINT][/PREFIX]
VERSION:
v0.
2.0-16-g6ab22e6
v0.
5.0-1-gce9968c
COMMANDS:
help, h Shows a list of commands or help for one command
...
...
@@ -65,6 +65,7 @@ GLOBAL OPTIONS:
--threads value, -p value number of concurrent threads (default: 10)
--http-port PORT HTTP PORT to listen to (default: 6070)
--update, -u update existing file if the source is newer (default: false)
--force-update, -f always update existing file (default: false)
--perms preserve permissions (default: false)
--dirs Sync directories or holders (default: false)
--dry don't copy file (default: false)
...
...
@@ -72,6 +73,8 @@ GLOBAL OPTIONS:
--delete-dst, --deleteDst delete extraneous objects from destination (default: false)
--exclude PATTERN exclude keys containing PATTERN (POSIX regular expressions)
--include PATTERN only include keys containing PATTERN (POSIX regular expressions)
--manager value manager address
--worker value hosts (seperated by comma) to launch worker
--verbose, -v turn on debug log (default: false)
--quiet, -q change log level to ERROR (default: false)
--help, -h show help (default: false)
...
...
main.go
浏览文件 @
bb96fdcd
...
...
@@ -137,8 +137,10 @@ func main() {
app
:=
cli
.
NewApp
()
app
.
Name
=
versioninfo
.
NAME
app
.
Usage
=
versioninfo
.
USAGE
app
.
Usage
=
"rsync for cloud storage"
app
.
UsageText
=
versioninfo
.
USAGE
app
.
Version
=
versioninfo
.
VERSION
app
.
Copyright
=
"AGPLv3"
app
.
Flags
=
[]
cli
.
Flag
{
&
cli
.
StringFlag
{
Name
:
"start"
,
...
...
versioninfo/versioninfo.go
浏览文件 @
bb96fdcd
...
...
@@ -7,7 +7,7 @@ var (
VERSION
=
"unknown"
REVISION
=
"HEAD"
REVISIONDATE
=
"now"
USAGE
=
`
Usage:
juicesync [options] SRC DST
USAGE
=
`juicesync [options] SRC DST
SRC and DST should be [NAME://][ACCESS_KEY:SECRET_KEY@]BUCKET[.ENDPOINT][/PREFIX]`
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录