elazarl / go-bindata-assetfs

Serves embedded files from `jteeuwen/go-bindata` with `net/http`
BSD 2-Clause "Simplified" License
870 stars 116 forks source link

Flag provided but not defined: -prefix #22

Closed FrancoisBs closed 9 years ago

FrancoisBs commented 9 years ago

The merge of #16 broke my build.

Error message :

flag provided but not defined: -prefix

From now we can't use go-bindata arguments ?

dmitshur commented 9 years ago

It's because flag.Parse() is called directly. Instead, a new flag set should be created, like for the debug flag.

elazarl commented 9 years ago

I reverted the commit. I didn't remember correctly that it was untested. I'll try to find time and fix the issue during the weekend.

Thanks, and sorry.

FrancoisBs commented 9 years ago

Closed by d5cac425555ca5cf00694df246e04f05e6a55150 Thanks,