diff --git a/cmd/snap/cmd_assert.go b/cmd/snap/cmd_assert.go
index 3e15449..10d15f0 100644
--- a/cmd/snap/cmd_assert.go
+++ b/cmd/snap/cmd_assert.go
@@ -25,12 +25,12 @@ import (
"github.com/ubuntu-core/snappy/i18n"
)
-type assertOptions struct {
+type AssertOptions struct {
AssertionFile string `positional-arg-name:"assertion-file" description:"assertion file"`
}
type cmdAssert struct {
- assertOptions `positional-args:"true" required:"true"`
+ AssertOptions `positional-args:"true" required:"true"`
}
var shortAssertHelp = i18n.G("Adds an assertion to the system")
@@ -52,7 +52,7 @@ func init() {
}
func (x *cmdAssert) Execute(args []string) error {
- assertFile := x.assertOptions.AssertionFile
+ assertFile := x.AssertOptions.AssertionFile
assertData, err := ioutil.ReadFile(assertFile)
if err != nil {