Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Developer committed Feb 22, 2020
1 parent 95c7696 commit 7a37fcd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 30,14 @@ Typing `Gontainer -h` the following output will be shown:

```
Usage: ./Gontainer -run -uid [-mnt=/path/rootfs] [-uts [-hostname=new_hostname]] [-ipc] [-net] [-pid]
-mnt='/path/rootfs' Enable Mount namespace
-uts Enable UTS namespace
-hostname='new_hostname' Set a custom hostname into the container
-ipc Enable IPC namespace
-net Enable Network namespace
-pid Enable PID namespace
-uid Enable User namespace
-v Check Gontainer version
-mnt='/path/rootfs' Enable Mount namespace
-uts Enable UTS namespace
-hostname='new_hostname' Set a custom hostname into the container
-ipc Enable IPC namespace
-net Enable Network namespace
-pid Enable PID namespace
-uid Enable User namespace
-v Check Gontainer version
```

Below there is a full explanation of provided arguments:
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 12,7 @@ import (
Common constants.
*/
const program_name = "Gontainer"
const version = "0.8.5"
const version = "0.8.6"
const shell = "/bin/sh"

/*
Expand Down Expand Up @@ -339,7 339,7 @@ func set_process_id(opt *Opts) bool {
}
} else {
if opt.process_id != false {
fmt.Println("Error: option -process_id require -mount.")
fmt.Println("Error: option -pid require -mount.")
}
return false
}
Expand Down

0 comments on commit 7a37fcd

Please sign in to comment.