hi @nielash
so nice of you to dig up the exact line that is relevant.
Although I initially didn't want to make an effort myself I've given it a shot. See NOT READY: add missing options to bisync --help and docs by TabError · Pull Request #9193 · rclone/rclone · GitHub
I tried to add Sync to the list, but that doesn't seem to work. I looked at the configs of all other commands and didn't find any option that looks sync-ish:
grep
cmd/tree/tree.go: "groups": "Filter,Listing",
cmd/touch/touch.go: "groups": "Filter,Listing,Important",
cmd/move/move.go: "groups": "Filter,Listing,Important,Copy",
cmd/copyto/copyto.go: "groups": "Copy,Filter,Listing,Important",
cmd/delete/delete.go: "groups": "Important,Filter,Listing",
cmd/mountlib/mount.go: "groups": "Filter",
cmd/hashsum/hashsum.go: "groups": "Filter,Listing",
cmd/about/about.go: // "groups": "",
cmd/dedupe/dedupe.go: "groups": "Important",
cmd/sha1sum/sha1sum.go: "groups": "Filter,Listing",
cmd/cryptcheck/cryptcheck.go: "groups": "Filter,Listing,Check",
cmd/copy/copy.go: "groups": "Copy,Filter,Listing,Important",
cmd/copyurl/copyurl.go: "groups": "Important",
cmd/rmdirs/rmdirs.go: "groups": "Important",
cmd/sync/sync.go: "groups": "Sync,Copy,Filter,Listing,Important",
cmd/serve/webdav/webdav.go: "groups": "Filter",
cmd/rmdir/rmdir.go: "groups": "Important",
cmd/size/size.go: "groups": "Filter,Listing",
cmd/mkdir/mkdir.go: "groups": "Important",
cmd/deletefile/deletefile.go: "groups": "Important",
cmd/lsf/lsf.go: "groups": "Filter,Listing",
cmd/md5sum/md5sum.go: "groups": "Filter,Listing",
cmd/rcd/rcd.go: "groups": "RC",
cmd/lsd/lsd.go: "groups": "Filter,Listing",
cmd/lsl/lsl.go: "groups": "Filter,Listing",
cmd/rcat/rcat.go: "groups": "Important",
cmd/check/check.go: "groups": "Filter,Listing,Check",
cmd/lsjson/lsjson.go: "groups": "Filter,Listing",
cmd/cat/cat.go: "groups": "Filter,Listing",
cmd/ls/ls.go: "groups": "Filter,Listing",
cmd/backend/backend.go: "groups": "Important",
cmd/purge/purge.go: "groups": "Important",
cmd/serve/sftp/sftp.go: "groups": "Filter",
cmd/bisync/cmd.go: "groups": "Filter,Copy,Important,Sync",
cmd/convmv/convmv.go: "groups": "Filter,Listing,Important,Copy",
cmd/ncdu/ncdu.go: "groups": "Filter,Listing",
cmd/moveto/moveto.go: "groups": "Filter,Listing,Important,Copy",
cmd/serve/s3/s3.go: "groups": "Filter",
cmd/cleanup/cleanup.go: "groups": "Important",
cmd/checksum/checksum.go: "groups": "Filter,Listing",
cmd/serve/nfs/nfs.go: "groups": "Filter",
fs/accounting/stats_groups_test.go: "groups": []string{
fs/accounting/stats_groups.go: "groups": an array of group names:
cmd/serve/http/http.go: "groups": "Filter",
cmd/serve/ftp/ftp.go: "groups": "Filter",
cmd/serve/docker/docker.go: "groups": "Filter",
cmd/serve/dlna/dlna.go: "groups": "Filter",
MANUAL.txt: "groups": an array of group names:
docs/content/rc.md: "groups": an array of group names:
MANUAL.md: "groups": an array of group names:
So what is the group that should be added?
Also, I couldn't find how to get a preview of the changes. E.g. i removed the groups line entirely and then ran make and make serve the resulting docs still show the options of copy and filter etc. I exprected them to be gone if the groups line is not present any more. How can I get changes to cmd/bisync/cmd.go affect the local docs instance served by hugo?
Last but not least: as seen in the grep output all other subcommands follow the naming scheme: cmd/<sub>/<sub>.go but bisync uses cmd/<sub>/cmd.go. It's not visible to the user but an inconsistency in the repo.
(I also found other inconsistencies in the docs ... but it's probably not worth pointing all them out. maybe i do a PR for this as well.)
Regarding the version a feature was introduced i also made a PR: added text to the label showing .Params.versionIntroduced by TabError · Pull Request #9192 · rclone/rclone · GitHub