The stashcp command-line tool completely ignores the --token command-line argument. This could probably be remedied by adding stashcp.Options.Token = options.Token immediately after https://github.com/opensciencegrid/stashcp/blob/master/cmd/stashcp/main.go#L113, but maybe it'd be wiser just to assign the whole struct.
The
stashcp
command-line tool completely ignores the--token
command-line argument. This could probably be remedied by addingstashcp.Options.Token = options.Token
immediately after https://github.com/opensciencegrid/stashcp/blob/master/cmd/stashcp/main.go#L113, but maybe it'd be wiser just to assign the whole struct.