Usage string format:
cmd_name [options] arg1_name [arg2_name]
- List paths to config files and used environment variables.
- Show links / hints for more detailed information.
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"os" | |
"strings" | |
) | |
func GetAllChildren(proc string, pid string) ([]string, error) { |
#!/bin/sh | |
PID=$$ | |
deadline() { | |
sleep $1 | |
kill $PID | |
} | |
export deadline | |
deadline 2 & |
#!/bin/bash | |
cmd=mycmd | |
# parse a subset of all options | |
while true; do | |
while getopts c:u:b: arg 2>/dev/null; do | |
case $arg in | |
"a") | |
arga=$OPTARG | |
;; |
" location of this file | |
" global (debian): /etc/vim/vimrc.local | |
" user: ~/.vimrc | |
" Avoid that defaults overwrite custom configuration | |
" see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837761 | |
" run ':scriptnames' to show the import order | |
let skip_defaults_vim=1 | |
source $VIMRUNTIME/defaults.vim |
package repository | |
import ( | |
"bytes" | |
"crypto/rand" | |
"crypto/rsa" | |
"fmt" | |
"github.com/stretchr/testify/assert" | |
"golang.org/x/crypto/openpgp/clearsign" | |
"golang.org/x/crypto/openpgp/packet" |
Name: %{name} | |
Date: %{date} | |
Id: %{id} | |
Description: %{description} | |
ResolvedIssues: | |
- | |
Subject: %{subject} | |
ReleaseNotes: '%{release_notes}' | |
Id: %{id} | |
Tracker: %{tracker} |
package main | |
import ( | |
"flag" | |
"fmt" | |
"os" | |
"path/filepath" | |
"regexp" | |
) |