Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ipfs/kubo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8668f4091582
Choose a base ref
...
head repository: ipfs/kubo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5f2949780f71
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Jul 18, 2015

  1. Add the missing long argument for ipfs mount

    License: MIT
    Signed-off-by: Michael Muré <batolettre@gmail.com>
    MichaelMure committed Jul 18, 2015
    Copy the full SHA
    78e9794 View commit details

Commits on Jul 19, 2015

  1. Merge pull request #1497 from MichaelMure/mount-options

    Add the missing long argument for ipfs mount
    jbenet committed Jul 19, 2015
    Copy the full SHA
    5f29497 View commit details
Showing with 3 additions and 7 deletions.
  1. +2 −6 core/commands/mount_unix.go
  2. +1 −1 misc/completion/ipfs-completion.bash
8 changes: 2 additions & 6 deletions core/commands/mount_unix.go
Original file line number Diff line number Diff line change
@@ -92,13 +92,9 @@ baz
baz
`,
},

Options: []cmds.Option{
// TODO longform
cmds.StringOption("f", "The path where IPFS should be mounted"),

// TODO longform
cmds.StringOption("n", "The path where IPNS should be mounted"),
cmds.StringOption("ipfs-path", "f", "The path where IPFS should be mounted"),
cmds.StringOption("ipns-path", "n", "The path where IPNS should be mounted"),
},
Run: func(req cmds.Request, res cmds.Response) {
cfg, err := req.Context().GetConfig()
2 changes: 1 addition & 1 deletion misc/completion/ipfs-completion.bash
Original file line number Diff line number Diff line change
@@ -161,7 +161,7 @@ _ipfs_ls()

_ipfs_mount()
{
_ipfs_comp "-f= -n= --help"
_ipfs_comp "--ipfs-path= --ipns-path= --help"
}

_ipfs_name()