Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
633df67b
Commit
633df67b
authored
Mar 05, 2011
by
David Symonds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gc, gopack: add some missing flags to the docs.
R=rsc, r CC=golang-dev
https://golang.org/cl/4260051
parent
4c30ca06
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
doc.go
src/cmd/gc/doc.go
+2
-0
ar.c
src/cmd/gopack/ar.c
+1
-1
doc.go
src/cmd/gopack/doc.go
+3
-1
No files found.
src/cmd/gc/doc.go
View file @
633df67b
...
...
@@ -43,6 +43,8 @@ Flags:
disable optimization
-S
write assembly language text to standard output
-u
disallow importing packages not marked as safe
-V
print the compiler version
...
...
src/cmd/gopack/ar.c
View file @
633df67b
...
...
@@ -109,7 +109,7 @@ typedef struct Hashchain
/* constants and flags */
char
*
man
=
"mrxtdpq"
;
char
*
opt
=
"uvnbailoS"
;
char
*
opt
=
"uvnbailo
g
S"
;
char
artemp
[]
=
"/tmp/vXXXXX"
;
char
movtemp
[]
=
"/tmp/v1XXXXX"
;
char
tailtemp
[]
=
"/tmp/v2XXXXX"
;
...
...
src/cmd/gopack/doc.go
View file @
633df67b
...
...
@@ -12,10 +12,12 @@ It adds a special Go-specific section __.PKGDEF that collects all the
Go type information from the files in the archive; that section is
used by the compiler when importing the package during compilation.
Usage: gopack [uvnbailo][mrxtdpq] archive files ...
Usage: gopack [uvnbailo
gS
][mrxtdpq] archive files ...
The new option 'g' causes gopack to maintain the __.PKGDEF section
as files are added to the archive.
The new option 'S' forces gopack to mark the archive as safe.
*/
package
documentation
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment