• W. Trevor King's avatar
    core/commands/publish: Fix published message · e4447b3c
    W. Trevor King authored
    Previously we had a confusing situation, with:
    
    * single-arg doc: published name <name> to <value>
    * double-arg doc: published name <value> to <name>
    * implementation: Published name <name> to <value>
    
    Now we have the uniform:
    
      Published to <name>: <value>
    
    With the following goals:
    
    1. It's clear that we're writing <value> to <name>'s IPNS slot in the
       DHT.
    2. We preserve the order of arguments from the command-line
       invocation:
    
         $ ipfs name publish <name> <value>
         Published to <name>: <value>
    e4447b3c
publish.go 3.54 KB