Skip to content
This repository has been archived by the owner on Sep 15, 2020. It is now read-only.

developer portal commands dont behave as documented - flag errors. #774

Open
mitra42 opened this issue Sep 24, 2018 · 1 comment
Open

developer portal commands dont behave as documented - flag errors. #774

mitra42 opened this issue Sep 24, 2018 · 1 comment

Comments

@mitra42
Copy link

mitra42 commented Sep 24, 2018

On [https://developer.holochain.org/Running_two_nodes_on_one_device] it says to run hcdev --agentID=anystring --DHTport=6284 web 4142 which results in an error

mitraglass:HoloWorld mitra$ hcdev --agentID=anystring --DHTport=6284 web 4142 
flag provided but not defined: -agentID
Usage of goConvey:
  -json
    	When true, emits results in JSON blocks. Default: 'false'
  -silent
    	When true, all output from GoConvey is suppressed.
  -story
    	When true, emits story output, otherwise emits dot output. When not provided, this flag mirrors the value of the '-test.v' flag
  -test.run regexp
    	run only tests and examples matching regexp
  -test.v
    	verbose: print additional output
Copying chain to: /Users/mitra/.holochaindev
Serving holochain with DNA hash:QmRepytqV3unE3CMyQuSN3qYP5Do2qeP6sdk88Y8DMGtbJ on port:4142

So it appears to be working but makes me worried that it isn't.

Note there is a similar problem on [https://developer.holochain.org/Install_Holochain] which tells me:

$ hcadmin -v
hcadmin version 0.0.x (holochain y)

but reality is

$ hcadmin -v
flag provided but not defined: -v
Usage of goConvey:
  -json
    	When true, emits results in JSON blocks. Default: 'false'
  -silent
    	When true, all output from GoConvey is suppressed.
  -story
    	When true, emits story output, otherwise emits dot output. When not provided, this flag mirrors the value of the '-test.v' flag
  -test.run regexp
    	run only tests and examples matching regexp
  -test.v
    	verbose: print additional output
hcadmin version 0.0.5 (holochain 26)
@maackle
Copy link
Member

maackle commented Sep 25, 2018

I noticed this too. It does appear that all commands do work, but this extra unhelpful, misleading output is also produced. Fortunately this will all go away after the new Rust version is released!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants