format the list more programmatically

repeat procedure for systemd 219
This commit is contained in:
Mark Oteiza
2015-04-25 15:33:02 -04:00
parent b60ccd5c53
commit 2a27186ee0

View File

@@ -33,6 +33,7 @@
;; forcer on freenode threw together a curl monstrosity for achieving ;; forcer on freenode threw together a curl monstrosity for achieving
;; the same: ;; the same:
;; curl -s http://www.freedesktop.org/software/systemd/man/systemd.directives.html | tr -d '\n' | sed 's/>/>\n/g' | sed -ne '/Unit directives/,/Options on the kernel/p' | sed -ne 's/.*<dt id="\([^-][^"]*\)=">.*/\1/p' ;; curl -s http://www.freedesktop.org/software/systemd/man/systemd.directives.html | tr -d '\n' | sed 's/>/>\n/g' | sed -ne '/Unit directives/,/Options on the kernel/p' | sed -ne 's/.*<dt id="\([^-][^"]*\)=">.*/\1/p'
;; Quote, wrap with fill-column at 72, insert into list and indent
'("Accept" "AccuracySec" "After" "Alias" "AllowIsolate" "Also" '("Accept" "AccuracySec" "After" "Alias" "AllowIsolate" "Also"
"AppArmorProfile" "AssertACPower" "AssertArchitecture" "AppArmorProfile" "AssertACPower" "AssertArchitecture"
"AssertCapability" "AssertDirectoryNotEmpty" "AssertFileIsExecutable" "AssertCapability" "AssertDirectoryNotEmpty" "AssertFileIsExecutable"
@@ -41,15 +42,15 @@
"AssertPathExistsGlob" "AssertPathIsDirectory" "AssertPathIsMountPoint" "AssertPathExistsGlob" "AssertPathIsDirectory" "AssertPathIsMountPoint"
"AssertPathIsReadWrite" "AssertPathIsSymbolicLink" "AssertSecurity" "AssertPathIsReadWrite" "AssertPathIsSymbolicLink" "AssertSecurity"
"AssertVirtualization" "Backlog" "Before" "BindIPv6Only" "BindToDevice" "AssertVirtualization" "Backlog" "Before" "BindIPv6Only" "BindToDevice"
"BindsTo" "BlockIOAccounting" "BlockIODeviceWeight" "BlockIOReadBandwidth" "BindsTo" "BlockIOAccounting" "BlockIODeviceWeight"
"BlockIOWeight" "BlockIOWriteBandwidth" "Broadcast" "BusName" "BlockIOReadBandwidth" "BlockIOWeight" "BlockIOWriteBandwidth"
"BusPolicy" "CPUAccounting" "CPUAffinity" "CPUQuota" "Broadcast" "BusName" "BusPolicy" "CPUAccounting" "CPUAffinity"
"CPUSchedulingPolicy" "CPUSchedulingPriority" "CPUSchedulingResetOnFork" "CPUQuota" "CPUSchedulingPolicy" "CPUSchedulingPriority"
"CPUShares" "Capabilities" "CapabilityBoundingSet" "ConditionACPower" "CPUSchedulingResetOnFork" "CPUShares" "Capabilities"
"ConditionArchitecture" "ConditionCapability" "CapabilityBoundingSet" "ConditionACPower" "ConditionArchitecture"
"ConditionDirectoryNotEmpty" "ConditionFileIsExecutable" "ConditionCapability" "ConditionDirectoryNotEmpty"
"ConditionFileNotEmpty" "ConditionFirstBoot" "ConditionHost" "ConditionFileIsExecutable" "ConditionFileNotEmpty" "ConditionFirstBoot"
"ConditionKernelCommandLine" "ConditionNeedsUpdate" "ConditionHost" "ConditionKernelCommandLine" "ConditionNeedsUpdate"
"ConditionPathExists" "ConditionPathExistsGlob" "ConditionPathExists" "ConditionPathExistsGlob"
"ConditionPathIsDirectory" "ConditionPathIsMountPoint" "ConditionPathIsDirectory" "ConditionPathIsMountPoint"
"ConditionPathIsReadWrite" "ConditionPathIsSymbolicLink" "ConditionPathIsReadWrite" "ConditionPathIsSymbolicLink"
@@ -62,27 +63,28 @@
"FreeBind" "Group" "GuessMainPID" "IOSchedulingClass" "FreeBind" "Group" "GuessMainPID" "IOSchedulingClass"
"IOSchedulingPriority" "IPTOS" "IPTTL" "IgnoreOnIsolate" "IOSchedulingPriority" "IPTOS" "IPTTL" "IgnoreOnIsolate"
"IgnoreOnSnapshot" "IgnoreSIGPIPE" "InaccessibleDirectories" "IgnoreOnSnapshot" "IgnoreSIGPIPE" "InaccessibleDirectories"
"JobTimeoutAction" "JobTimeoutRebootArgument" "JobTimeoutAction" "JobTimeoutRebootArgument" "JobTimeoutSec"
"JobTimeoutSec" "JoinsNamespaceOf" "KeepAlive" "KeepAliveIntervalSec" "JoinsNamespaceOf" "KeepAlive" "KeepAliveIntervalSec" "KeepAliveProbes"
"KeepAliveProbes" "KeepAliveTimeSec" "KillMode" "KillSignal" "KeepAliveTimeSec" "KillMode" "KillSignal" "LimitAS" "LimitCORE"
"LimitAS" "LimitCORE" "LimitCPU" "LimitDATA" "LimitFSIZE" "LimitLOCKS" "LimitCPU" "LimitDATA" "LimitFSIZE" "LimitLOCKS" "LimitMEMLOCK"
"LimitMEMLOCK" "LimitMSGQUEUE" "LimitNICE" "LimitNOFILE" "LimitNPROC" "LimitMSGQUEUE" "LimitNICE" "LimitNOFILE" "LimitNPROC" "LimitRSS"
"LimitRSS" "LimitRTPRIO" "LimitRTTIME" "LimitSIGPENDING" "LimitSTACK" "LimitRTPRIO" "LimitRTTIME" "LimitSIGPENDING" "LimitSTACK"
"ListenDatagram" "ListenFIFO" "ListenMessageQueue" "ListenNetlink" "ListenDatagram" "ListenFIFO" "ListenMessageQueue" "ListenNetlink"
"ListenSequentialPacket" "ListenSpecial" "ListenStream" "MakeDirectory" "ListenSequentialPacket" "ListenSpecial" "ListenStream" "MakeDirectory"
"Mark" "MaxConnections" "MemoryAccounting" "MemoryLimit" "Mark" "MaxConnections" "MemoryAccounting" "MemoryLimit"
"MessageQueueMaxMessages" "MessageQueueMessageSize" "MountFlags" "MessageQueueMaxMessages" "MessageQueueMessageSize" "MountFlags" "Nice"
"Nice" "NoDelay" "NoNewPrivileges" "NonBlocking" "NotifyAccess" "NoDelay" "NoNewPrivileges" "NonBlocking" "NotifyAccess"
"OOMScoreAdjust" "OnActiveSec" "OnBootSec" "OnCalendar" "OnFailure" "OOMScoreAdjust" "OnActiveSec" "OnBootSec" "OnCalendar" "OnFailure"
"OnFailureJobMode" "OnStartupSec" "OnUnitActiveSec" "OnUnitInactiveSec" "OnFailureJobMode" "OnStartupSec" "OnUnitActiveSec" "OnUnitInactiveSec"
"Options" "PAMName" "PIDFile" "PartOf" "PassCredentials" "PassSecurity" "Options" "PAMName" "PIDFile" "PartOf" "PassCredentials" "PassSecurity"
"PathChanged" "PathExists" "PathExistsGlob" "PathModified" "PathChanged" "PathExists" "PathExistsGlob" "PathModified"
"PermissionsStartOnly" "Persistent" "Personality" "PipeSize" "Priority" "PermissionsStartOnly" "Persistent" "Personality" "PipeSize" "Priority"
"PrivateDevices" "PrivateNetwork" "PrivateTmp" "PropagatesReloadTo" "PrivateDevices" "PrivateNetwork" "PrivateTmp" "PropagatesReloadTo"
"ProtectHome" "ProtectSystem" "ReadOnlyDirectories" "ReadWriteDirectories" "ProtectHome" "ProtectSystem" "ReadOnlyDirectories"
"RebootArgument" "ReceiveBuffer" "RefuseManualStart" "RefuseManualStop" "ReadWriteDirectories" "RebootArgument" "ReceiveBuffer"
"ReloadPropagatedFrom" "RemainAfterExit" "RemoveOnStop" "RequiredBy" "RefuseManualStart" "RefuseManualStop" "ReloadPropagatedFrom"
"Requires" "RequiresMountsFor" "RequiresOverridable" "Requisite" "RemainAfterExit" "RemoveOnStop" "RequiredBy" "Requires"
"RequiresMountsFor" "RequiresOverridable" "Requisite"
"RequisiteOverridable" "Restart" "RestartForceExitStatus" "RequisiteOverridable" "Restart" "RestartForceExitStatus"
"RestartPreventExitStatus" "RestartSec" "RestrictAddressFamilies" "RestartPreventExitStatus" "RestartSec" "RestrictAddressFamilies"
"ReusePort" "RootDirectory" "RootDirectoryStartOnly" "RuntimeDirectory" "ReusePort" "RootDirectory" "RootDirectoryStartOnly" "RuntimeDirectory"
@@ -97,11 +99,11 @@
"SyslogIdentifier" "SyslogLevel" "SyslogLevelPrefix" "SyslogIdentifier" "SyslogLevel" "SyslogLevelPrefix"
"SystemCallArchitectures" "SystemCallErrorNumber" "SystemCallFilter" "SystemCallArchitectures" "SystemCallErrorNumber" "SystemCallFilter"
"TCPCongestion" "TTYPath" "TTYReset" "TTYVHangup" "TTYVTDisallocate" "TCPCongestion" "TTYPath" "TTYReset" "TTYVHangup" "TTYVTDisallocate"
"TimeoutSec" "TimeoutStartSec" "TimeoutStopSec" "TimerSlackNSec" "TimeoutIdleSec" "TimeoutSec" "TimeoutStartSec" "TimeoutStopSec"
"Transparent" "Type" "UMask" "Unit" "User" "UtmpIdentifier" "TimerSlackNSec" "Transparent" "Type" "UMask" "Unit" "User"
"WakeSystem" "WantedBy" "Wants" "WatchdogSec" "What" "Where" "UtmpIdentifier" "WakeSystem" "WantedBy" "Wants" "WatchdogSec" "What"
"WorkingDirectory") "Where" "WorkingDirectory")
"Configuration directives for systemd 218.") "Configuration directives for systemd 219.")
(defun systemd-company--setup (enable) (defun systemd-company--setup (enable)
(when (fboundp 'systemd-company--setup-company) (when (fboundp 'systemd-company--setup-company)